Karl Bartel
2a8d5b1a6b
Handle empty lines with whitespace in lists
2020-07-01 08:56:22 +02:00
Karl Bartel
23241209f8
Fix blockquotes
...
* 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-01 08:56:22 +02:00
Karl Bartel
028a8dadd1
Lists only continue when using same marker
...
```
- foo
- bar
+ baz
```
is two lists (see https://spec.commonmark.org/0.29/#example-271 )
2020-07-01 08:56:22 +02:00
Karl Bartel
7fa950993c
End list when indent is not reached
...
Otherwise
```
- foo
- bar
+ baz
```
will become a nested list
2020-07-01 08:56:22 +02:00
Karl Bartel
7228740ed1
Fix paragraphs after ruler
...
```
- - -
foo
```
did not work because the empty line was swallowed when parsing the
ruler.
2020-07-01 08:56:22 +02:00
Karl Bartel
68edb1b8fd
Support literal quotes in titles
...
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-01 08:56:22 +02:00
Karl Bartel
a9636129cc
Keep HTML comments in output
...
See https://spec.commonmark.org/0.29/#example-621
2020-07-01 08:56:22 +02:00
Karl Bartel
1793559632
Ignore single space around code span
...
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-01 08:56:22 +02:00
Karl Bartel
b76e431cc2
Skip empty lines at end of code block
...
See https://spec.commonmark.org/0.29/#example-87
2020-07-01 08:56:22 +02:00
Karl Bartel
3e00caedeb
Code blocks need four spaces indentation
2020-07-01 08:56:22 +02:00
Karl Bartel
beca8029f4
Code blocks should contain the ending newline
...
See https://spec.commonmark.org/0.29/#example-1
2020-07-01 08:56:22 +02:00
Karl Bartel
0bb70e62b8
Allow link target in angular brackets
...
Example:
[URL wrapped in angle brackets](</url/>).
2020-07-01 08:56:22 +02:00
Karl Bartel
c21412ce48
Handle nested parens in links
...
Example input:
[With parens in the URL](http://en.wikipedia.org/wiki/WIMP_(computing) )
2020-07-01 08:56:22 +02:00
Enno Boland
67be1bfcb8
prepare v1.5
2019-06-21 09:22:19 +02:00
Enno Boland
86a6bf6133
documentation: fix language
2018-03-27 09:45:51 +02:00
slump64
66428d2e28
Yhis is not a word
2018-03-27 09:43:10 +02:00
Enno Boland
12fabc0a0f
Merge pull request #6 from nabijaczleweli/master
...
Make documentation slightly more English
2017-08-17 08:11:51 +02:00
nabijaczleweli
1e33f2a766
Make documentation slightly more English
2017-08-17 01:40:53 +02:00
Enno Boland
2181caf0c4
fix shortlinks when -n is not given. #4
2016-01-20 23:13:50 +01:00
Enno Boland
0f3176f753
remove useless .hgtags
2014-11-28 10:12:27 +01:00
Enno Boland
8d20cb6593
prepare 1.4 release.
2014-11-28 10:10:19 +01:00
Enno Boland
2d498b1332
rework BUGS section in manpage. Point users to github.
2014-11-28 10:09:05 +01:00
Enno Boland
5fe941b5a3
update license.
2014-11-28 10:08:23 +01:00
Enno Boland
8ddcbc040b
apply whitespace cleaning by Hiltjo Posthuma. Thanks mate!
2014-11-28 10:07:00 +01:00
Enno Boland
913a387aff
apply img and anchor support written by Hiltjo Posthuma. Thanks mate!
2014-11-28 10:06:32 +01:00
Enno Boland
0121dd058d
Merge pull request #3 from Ypnose/master
...
Remove newline after <p>
2014-05-14 23:43:18 +02:00
Ypnose
3dcb798637
Remove newline after <p>
2014-05-14 22:32:35 +02:00
Enno Boland
5bbc1243bc
Merge pull request #2 from mstevens/master
...
Minor english improvements to docs
2014-02-23 21:51:48 +01:00
Michael Stevens
792820eb83
Minor english improvements to docs
2013-12-07 18:24:04 +00:00
Enno Boland
2c7b9d2ec0
Merge pull request #1 from mrdomino/master
...
Fix escaping with surrounds
2013-06-23 02:19:28 -07:00
Steven Dee
b8bb25f4a7
Fix escaping with surrounds
...
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.
2013-06-22 16:14:25 -04:00
Steven Dee
1df23c3882
Add test case for non-processing in "`"
2013-06-22 16:10:54 -04:00
Enno Boland (Gottox)
1b0c0b16d1
small fixes reported by Johannes. Thx btw :)
2008-07-03 08:55:01 +02:00
Enno Boland (Gottox)
c499a2afe1
adding reallocz, adding workaround for segfault, some reformating.
2008-07-02 09:43:21 +02:00
Enno Boland (Gottox)
22b697c8d0
removing libsmu.c. I thought it was already gone...
2008-07-02 08:03:31 +02:00
Enno Boland (Gottox)
cf7d7b62f2
don't remove comments when -n is set.
2008-07-01 22:10:40 +02:00
Enno Boland (Gottox)
5fff5fdbe8
rewriting dohtml, adding docomment, rewriting arg-loop.
2008-07-01 22:01:33 +02:00
Enno Boland (Gottox)
3584331433
Adding args unlib patch.
2008-06-28 21:06:02 +02:00
Enno Boland (Gottox)
b2712c1480
turning smu into a library, thanks arg.
2008-06-18 08:00:18 +02:00
Enno Boland (Gottox)
66219165d0
Added tag 1.3 for changeset 4faa926444a2
2008-03-16 14:19:23 +01:00
Enno Boland (Gottox)
03a1811bf9
version 1.3
2008-03-16 14:19:23 +01:00
Enno Boland (Gottox)
4536588aad
typo fix
2008-03-16 13:48:41 +01:00
gottox@work
986882ad3e
new ascii logo.
2008-01-29 12:59:52 +01:00
gottox@work
2f223a46e0
preventing from unwanted output.
2008-01-28 14:13:58 +01:00
gottox@work
fc9310966e
More documentation; fixed dosurround
2008-01-28 14:10:32 +01:00
gottox@work
c87f6e21b6
Removing unsigned where values are signed :/
2008-01-28 13:08:15 +01:00
gottox@rootkit.lan
fa0d368d7e
Added workaround for strong and emphatic texts.
2008-01-26 12:45:49 +01:00
gottox@rootkit
f20e7b5516
renamed smutest into testdoc. Added documentation. Changed copyright.
...
--HG--
rename : smutest => testdoc
2008-01-22 10:50:18 +01:00
gottox@rootkit.lan
e1030faf5f
Added tag 1.1 for changeset 08f7f8e8aa42
2008-01-14 14:27:59 +01:00
gottox@rootkit.lan
fd24df1b66
version 1.1
2008-01-14 14:27:59 +01:00