{"repo":"soypat/goldmark-latex","free":true,"listed":false,"github":"https://github.com/soypat/goldmark-latex","clone":"git clone https://github.com/soypat/goldmark-latex.git","description":"A LaTeX renderer for Goldmark. Produce .tex files from markdown.","language":"Go","stars":18,"topics":["commonmark","go","golang","goldmark","latex","markdown","document","math","tex"],"license":"MIT","category":"productivity","readme_excerpt":"goldmark-latex A LaTeX renderer for Goldmark. Produce .tex files from markdown. This renderer seeks to be as extensible as Goldmark itself. Please file an issue if it does not meet your requirements. Results So far this implementation renders the CommonMark specification with the exception of embedded HTML. It does have some bugs related to undefined ASCII sequences. Any help is appreciated. Extensions Inline Math $...$ expressions are passed through as LaTeX inline math. The closing $ must appear on the same line. An unmatched $ is escaped to \\$ as usual. Markdown LaTeX --- --- $x + y$ $x + y$ See $E=mc^2$. See $E=mc^2$. cost is $5 cost is \\$5 Register InlineMathParser to enable this feature. GFM Tables Pipe tables are rendered as tabular environments. Column alignment from the delimiter row ( :--- , :---: , ---: ) maps to l , c , r in the column spec. Input: Output: Table Captions Enabled via Config.EnableTableCaptions . A paragraph beginning with : immediately after a table is treated as a caption and wraps the table in a table float. Input: Output: Figures Markdown images render as figure floats wrapping \\includegraphics . The alt text becomes the figure caption (omitted when empty). The destination is written verbatim so file paths with characters such as are preserved. Dangerous URLs are dropped unless Config.Unsafe is set. Requires the graphicx package (included in the default preamble). Input: Output: Raw LaTeX Passthrough A fenced code block with the pandoc-style {=l","default_branch":null,"files":null,"tree":[],"storefront":"/r/soypat","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/soypat/goldmark-latex/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}