summaryrefslogtreecommitdiff
path: root/smu.c
AgeCommit message (Collapse)Author
2020-10-04Added attribute to inline code blockHEADmasterAndrew
2020-07-01Handle empty lines with whitespace in listsKarl Bartel
2020-07-01Fix blockquotesKarl Bartel
* nesting did not work * ">" without following space was not recognized as blockquote Quoting https://spec.commonmark.org/0.29/#example-5: > Normally the > that begins a block quote may be followed optionally by a space, which is not considered part of the content.
2020-07-01Lists only continue when using same markerKarl Bartel
``` - foo - bar + baz ``` is two lists (see https://spec.commonmark.org/0.29/#example-271)
2020-07-01End list when indent is not reachedKarl Bartel
Otherwise ``` - foo - bar + baz ``` will become a nested list
2020-07-01Fix paragraphs after rulerKarl Bartel
``` - - - foo ``` did not work because the empty line was swallowed when parsing the ruler.
2020-07-01Support literal quotes in titlesKarl Bartel
I could not find this in the markdown spec, but https://github.com/michelf/mdtest/blob/master/Markdown.mdtest/Literal%20quotes%20in%20titles.text includes it in the test suite and I actually prefer the implementation after this change.
2020-07-01Keep HTML comments in outputKarl Bartel
See https://spec.commonmark.org/0.29/#example-621
2020-07-01Ignore single space around code spanKarl Bartel
According to https://spec.commonmark.org/0.29/#code-spans : > If the resulting string both begins and ends with a space character, but does not consist entirely of space characters, a single space character is removed from the front and back. This allows you to include code that begins or ends with backtick characters, which must be separated by whitespace from the opening or closing backtick strings.
2020-07-01Skip empty lines at end of code blockKarl Bartel
See https://spec.commonmark.org/0.29/#example-87
2020-07-01Code blocks need four spaces indentationKarl Bartel
2020-07-01Code blocks should contain the ending newlineKarl Bartel
See https://spec.commonmark.org/0.29/#example-1
2020-07-01Allow link target in angular bracketsKarl Bartel
Example: [URL wrapped in angle brackets](</url/>).
2020-07-01Handle nested parens in linksKarl Bartel
Example input: [With parens in the URL](http://en.wikipedia.org/wiki/WIMP_(computing))
2016-01-20fix shortlinks when -n is not given. #4Enno Boland
2014-11-28apply whitespace cleaning by Hiltjo Posthuma. Thanks mate!Enno Boland
2014-11-28apply img and anchor support written by Hiltjo Posthuma. Thanks mate!Enno Boland
2014-05-14Remove newline after <p>Ypnose
2013-06-22Fix escaping with surroundsSteven Dee
When we assigned stop = strstr(start, search), we'd grab the first match even if it was escaped. Instead, we update stop as we go.
2008-07-03small fixes reported by Johannes. Thx btw :)Enno Boland (Gottox)
2008-07-02adding reallocz, adding workaround for segfault, some reformating.Enno Boland (Gottox)
2008-07-01don't remove comments when -n is set.Enno Boland (Gottox)
2008-07-01rewriting dohtml, adding docomment, rewriting arg-loop.Enno Boland (Gottox)
2008-06-28Adding args unlib patch.Enno Boland (Gottox)
2008-06-18turning smu into a library, thanks arg.Enno Boland (Gottox)
2008-03-16typo fixEnno Boland (Gottox)
2008-01-28preventing from unwanted output.gottox@work
2008-01-28More documentation; fixed dosurroundgottox@work
2008-01-28Removing unsigned where values are signed :/gottox@work
2008-01-26Added workaround for strong and emphatic texts.gottox@rootkit.lan
2008-01-22renamed smutest into testdoc. Added documentation. Changed copyright.gottox@rootkit
--HG-- rename : smutest => testdoc
2008-01-14dogtlt filledgottox@rootkit.lan
2008-01-14<hr /> is now more proper.gottox@rootkit.lan
2008-01-14smu handles big files correctly now.gottox@rootkit.lan
2008-01-05hr works again.gottox@rootkit.lan
It's a little hacky :/
2008-01-04Removed comments and unneeded replace rules ('- - -' should be readded later.)gottox@rootkit.lan
2008-01-04dd function dogtlt; added Szabolcs' patchgottox@rootkit.lan
2008-01-01dolineprefix can now work without newblockgottox@rootkit.lan
2008-01-01Fixed bugs reported by nsz_gottox@rootkit.lan
2008-01-01renamed project to smu - simple markupgottox@rootkit.lan
--HG-- rename : cmarkdown.1 => smu.1 rename : cmarkdown.c => smu.c