GithubHelp home page GithubHelp logo

isabella232 / fontawesome-markdown Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openanalytics/fontawesome-markdown

0.0 0.0 0.0 48 KB

Markdown extension to use Font Awesome icons in a GitHub style

Home Page: http://bmcorser.github.io/fontawesome-markdown/

Python 100.00%

fontawesome-markdown's Introduction

Font Awesome and Markdown, together!

For when words aren't enough.

image

A Markdown extension that looks for things like :fa-coffee: and replaces them with the Font Awesome icon markup.

Add 'fontawesome_markdown' to your Markdown call and watch the magic unfold:

>>> from markdown import Markdown

>>> markdown = Markdown(extensions=['fontawesome_markdown']
>>> markdown.convert('i ♥ :fa-coffee:')
<p>i<i class="fa fa-coffee"></i></p>

>>> markdown.convert('i ♥ :far fa-fontawesome: fa-x3')
<p>i<i class="far fa-coffee fa-x3"></i></p>

Don't forget to make the Font Awesome v5.2 assets available to your DOM, and you're done!

Issue

  • light prefix is not supported now.(I can not find metadata)

fontawesome-markdown's People

Contributors

bmcorser avatar fuzzmz avatar tverbeke avatar bcaller avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.