Skip to content
[MOVED-TO-GITLAB] A LaTeX renderer for the Blackfriday Markdown Processor
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
example_test.go
latex.go
latex_test.go
safelink.go

README.md

Blackfriday-LaTeX

Blackfriday-LaTeX is a LaTeX renderer for the Blackfriday Markdown processor (v2).

Warning: Both Blackfriday v2 and this renderer are a work-in-progress.

Supported features

Among others:

  • Optional preamble
  • Title page
  • Table of contents
  • Footnotes
  • Tables
  • Fenced source code

Math support

Since Markdown and CommonMark do not make any provision for parsing math, the renderer uses the following rules to render math:

  • Math blocks are introduced with code blocks having the math language specifier.

      ``` math
      x+y=z
      ```
    
  • Inline math is introduce with inline code prefixed by $$ (space matters).

      `$$ x+y=z`
    

Documentation

See godoc.org.

You can’t perform that action at this time.