A plain text markup language for conversion to HTML and other formats

learn more… | top users | synonyms

60
votes
9answers
20k views

Converting Markdown to LaTeX, in LaTeX

I've started to use markdown for my notes simply because its faster than writing latex, but I would prefer to have the extra power to LaTeX. Is there/would it be possible to have a markdown ...
20
votes
3answers
935 views

Use Markdown-style formatting for bold and italic

I rather like the system here where *...* is italic, **...** is bold, and ***...*** is bold italic. Is it possible to do that in (La)TeX? A MWE that implements the first one: \documentclass{article} ...
12
votes
1answer
882 views

LaTeX class for creating markdown style output

I am a long time user of LaTeX. I have found, however, that using Markdown gives me a document which is "easier on the eyes". LaTeX often looks like textbooks. Does anyone know LaTeX classes (or ...
16
votes
1answer
6k views

Pandoc: Markdown to PDF, without cutting off code block lines that are too long

I'm trying to convert a Markdown file into a PDF file using Pandoc. I have a lot of code blocks in my Markdown. And if I have a line of code that is too long, it will just be cut off in the PDF. How ...
17
votes
3answers
14k views

Deeper levels of (sub)sections don't appear in the LaTeX output of pandoc. Why?

I use pandoc to create latex and PDF from Markdown. Markdown, being designed for HTML, allows 6 levels of headers H1...H6. But when converting to PDF, via tex, I get only three levels: 1 (\section), ...
8
votes
1answer
305 views

Active characters in linguistics

What are the pros and cons of using active characters instead of macros in text? Would it make sense to implement a “simplified markup” parser in Latex to make code more readable? Rationale ...
11
votes
2answers
2k views

How to set a font family with pandoc?

I have some reports written in MultiMarkDown and want to convert them to pdf (via xelatex) with pandoc. As I am in an professional environment, a certain font-family is mandatory. The fonts are ...
3
votes
1answer
667 views

\frontmatter causes bad text formatting

When I insert \frontmatter into my LaTeX document, it causes all of the text to be centered and in the wrong font. I'm using a template called Legrand Orange Book ...
9
votes
1answer
441 views

Automating extraction of Markdown-formatted tables from an (incomplete) LaTeX document

I am trying to automate the presentation of my note taking. I would like to be able to regex all Pandoc tables in my document, add LaTeX around them, compile them and show the result in a PDF. ...
8
votes
1answer
221 views

Is there any package with Markdown support?

Sometimes, I have notes where I would not like to convert all portions to Tex format. I normally then simply put such contexts under verbatim. However, this is a rather crude approach. So I started ...
5
votes
1answer
119 views

Filtering through an external command in LaTeX?

Is there any way in LaTeX to define an environment, say, \begin{markdown} This will be *processed* as [Markdown](http://daringfireball.net/projects/markdown/)! \end{markdown} which passes the ...
4
votes
1answer
171 views

Embed Github readme.md in Latex

During my thesis I have created multiple Git-Repositories which are documented using the readme.md which GitHub uses as repository explanation. Now I would like to include those documentations into ...