2b3ea4bb0c
make: Add pgo-build target
2025-01-21 20:30:36 +01:00
08352deca9
smu.1: Change .SH BUGS
2025-01-21 20:19:34 +01:00
14f610e8af
smu: Minor error handeling changes
2025-01-21 20:17:09 +01:00
e195f586cd
smu: Re-add processing from STDIN
2025-01-21 20:12:16 +01:00
29d314255d
smu: Change file reading
2025-01-21 19:51:56 +01:00
c702617acd
smu.c: Format source code
2025-01-20 18:49:00 +01:00
82048dd49e
smu.h: Remove blank line
2025-01-20 18:48:46 +01:00
3015ce5a3c
make: Add config.mk to makefile, update targets
2025-01-20 18:47:39 +01:00
46ef0869bb
config.mk: Remove config.mk
2025-01-20 18:47:26 +01:00
Max Schillinger
7f1782d525
Update documentation regarding code blocks
2024-11-05 23:14:28 +01:00
aabacchus
eb7884baf3
add .gitignore
2023-10-25 17:57:06 +02:00
NRK
f918c13ada
add missing prototype for eprint()
2023-10-25 17:56:51 +02:00
NRK
815df3b581
supress false-positive (?) warning
...
compiling with -O3 with gcc produces the following warning:
```
smu.c:387:39: error: 'marker' may be used uninitialized in this function [-Werror=maybe-uninitialized]
387 | if(ul && *q == marker)
| ~~~^~~~~~~~~~~~~~~
```
2023-10-25 17:56:51 +02:00
ashish-nagmoti
cefbab0f76
Solved Documentation Ambiguity
2023-10-09 22:45:23 +02:00
ptrstr
e62f23808b
Fix invalid condition
2022-01-18 09:53:20 +01:00
ptrstr
ba5b3e53e2
Fix generalized patches
2022-01-18 09:53:20 +01:00
ptrstr
b18e5fe83f
Prevent against OOB read write
2022-01-18 09:53:20 +01:00
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