Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fiddlosopher
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
fiddlosopher
14y ago
I, too, would be strongly against "automatic return-based linebreaks." Given that markdown has constructions for lists and code blocks, one very rarely needs a hard line break anyway. Currently markdown works fine both for people who hard
32.
▲
by
fiddlosopher
14y ago
[lunamark]( https://github.com/jgm/lunamark/tree/master/lunamark ) is another PEG-based implementation.
33.
▲
by
fiddlosopher
14y ago
You could always install pandoc locally. It's free, and it's the same software docverter is using. (For PDF output, you'd also need to install texlive, but that too is free.)
34.
▲
by
fiddlosopher
15y ago
Pandoc's extended markdown allows you to use a backslash at the end of the line to indicate a line break. (Think of this as a backslash-escaped newline, if you want.)
35.
▲
by
fiddlosopher
15y ago
Since angle brackets are used for "automatic links" in markdown ( http://daringfireball.net/projects/markdown/syntax#autolink ), a markdown processor already has to look at the contents.
36.
▲
by
fiddlosopher
15y ago
To elaborate: in pandoc 1.9 you can just do: pandoc -t beamer -o presentation.pdf
37.
▲
by
fiddlosopher
15y ago
There is a detailed comparison of pandoc and multimarkdown here: https://github.com/jgm/pandoc/wiki/Pandoc-vs-Multimarkdown .
38.
▲
by
fiddlosopher
15y ago
In pandoc you can just use `\newpage`. This will create a page break in LaTeX/PDF output but be ignored in other formats, such as HTML.
39.
▲
by
fiddlosopher
16y ago
There's a brief comparison with yst here: http://www.reddit.com/r/haskell/comments/abe3o/hakyll_a_simp...
40.
▲
by
fiddlosopher
16y ago
I wrote a Haskell library, [texmath]( http://github.com/jgm/texmath ) that converts LaTeX to MathML; this is used in pandoc and gitit. The library comes with two executables, one a standalone command-line converter, another a CGI program.