mirror of
https://github.com/Orc/discount.git
synced 2026-09-25 04:10:00 +03:00
3671ed699468bdb945c71cc01f9e10b66ccbeaa4
maybe_tag_or_link() into three functions; maybe_tag_or_link()
is for `<`automatic links`>`, the new function `maybe_autolink()` is
for reddit-style inline autolinks, and the new function
`process_possible_link()` handles the formatting of the token picked
up by `maybe_tag_or_link()` or `maybe_autolink()`.
2. Fix a bug in `ishdr()` so that it won't pick up a line containing
a single `#` and emit it as a `<h0>`.
3. Modify the behavior of backslash escaping in `parenthetical()` so
that all punctuation can be escaped.
DISCOUNT is a implementation of John Gruber's Markdown markup language. It implements, as far as I can tell, all of the language as described in <http://daringfireball.net/projects/markdown/syntax> and passes the Markdown test suite at <http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip> DISCOUNT is free software written by David Parsons <orc@pell.chi.il.us>; it is released under a BSD-style license that allows you to do as you wish with it as long as you don't attempt to claim it as your own work. Most of the programs included in the DISCOUNT distribution have manual pages describing how they work. The file INSTALL describes how to build and install discount
Languages
C
49.3%
Roff
18.9%
Raku
11.8%
PHP
9.7%
Makefile
2.3%
Other
8%