|
ef5f230f
|
2016-10-14T19:56:05
|
|
Implement permissive autolinks extensions.
With MD_FLAG_PERMISSIVEURLAUTOLINKS, we treat not overly complicated URLs
as autolinks even without '<' and '>'.
With MD_FLAG_PERMISSIVEEMAILAUTOLINKS, we treat not overly complicated
e-mail addresses as autolinks even without '<', '>' and without the
'mailto:' scheme.
Also expanded md2html utility and tests to cover these.
|
|
63a31411
|
2016-10-14T16:10:40
|
|
Minor comment cleanup.
|
|
b2a30903
|
2016-10-14T11:03:20
|
|
md_process_doc: Fix use after free (via realloc()).
pivot_line points into the lines[], so we must be sure we have a valid pointer after the realloc() when growing the array.
|
|
9013247e
|
2016-10-14T03:03:17
|
|
md_rollback: Optimize.
We skip over as many marks a possible in mot cases.
This fixes e.g. the pathological case generated by command
$ python -c 'print (("*a **a " * 65000) + "b" + (" a** a*" * 65000))'
|
|
2ce9548d
|
2016-10-13T23:10:21
|
|
Minor cleanup.
|
|
3d708ab2
|
2016-10-13T23:06:15
|
|
Simplify logging. No <stdargs.h> needed.
|
|
684c80ce
|
2016-10-13T22:38:16
|
|
Implement "rule of three".
Since 0.26, CommonMark specifies intraword '*' or '_' marks cannot close
if sume of opening and closing mark chracters can be divided by three.
|
|
296c8318
|
2016-10-13T19:04:36
|
|
Implement emphasis and strong emphasis.
|
|
ec6a1cb7
|
2016-10-13T19:31:05
|
|
md_is_html_block_end_condition: Improve the function so we do just a single scan of lines inside the HTML block.
|
|
977ca3e1
|
2016-10-13T18:29:13
|
|
md_collect_marks: Make a branch to be more friendly
... to CPU branch prediction.
This seems to have 20%-effect when bechmarking with md2html (and
output redirected to /dev/null) on my machine.
|
|
bb66cf83
|
2016-10-13T18:28:13
|
|
Fix character classification checks to deal with signed as well usnigned char.
|
|
d6f40880
|
2016-10-11T13:22:44
|
|
Fix branching on initialized variable.
(Caught with Valgrind.)
|
|
9af285a6
|
2016-10-11T12:02:08
|
|
Fix transforming a new line into space inside of a code span.
|
|
55f39e2a
|
2016-10-11T11:13:16
|
|
Fix #definition of MD_ASSERT and MD_UNREACHABLE for non-debug gcc builds.
|
|
a7899c05
|
2016-10-11T02:34:01
|
|
Implement autolinks.
|
|
fec7b9e6
|
2016-10-11T02:43:40
|
|
md_is_html_tag: The tag name cannot contain ':', '.' or '_'.
|
|
c3e63408
|
2016-10-11T01:19:50
|
|
scripts/run-tests.sh: Fix permissions.
|
|
8fd97d78
|
2016-10-11T01:11:21
|
|
scripts/run-tests.sh: Fix typo.
|
|
1cfc6a5f
|
2016-10-11T01:10:11
|
|
Incorporate the specification testsuite from CommonMark.
|
|
f6456e35
|
2016-10-11T00:38:41
|
|
Minor clean up of README.md.
|
|
2b740798
|
2016-10-11T00:36:39
|
|
Implement insecure character (NULL) replacement.
|
|
04c82c6c
|
2016-10-10T23:52:13
|
|
Optmize the structure MD_MARK for size.
|
|
a3c721b2
|
2016-10-10T20:01:34
|
|
Refactorize/improve analysis of inlines.
|
|
978e04f9
|
2016-10-09T01:12:56
|
|
Minor cleanup.
|
|
d9e28dc9
|
2016-10-09T00:53:28
|
|
Fix: Code spans and raw HTML have same precedence.
|
|
de2338ec
|
2016-10-09T00:42:30
|
|
Fix: By default, do not collapse whitespace.
|
|
c217261d
|
2016-10-09T00:26:13
|
|
Fix: Handle empty blockquotes correctly.
|
|
feee6256
|
2016-10-09T00:16:55
|
|
Fix: Blank line cannot be part of an indented code block if block quote level differs.
|
|
088ff08a
|
2016-10-09T00:08:24
|
|
Fix: Check fir indented code block with higher priority then for blockquote.
|
|
fcc10076
|
2016-10-09T00:03:11
|
|
Fix: HTML block type 7 cannot interrupt paragraph.
|
|
d161268d
|
2016-10-08T23:55:43
|
|
Minor fixes.
|
|
762aee7f
|
2016-10-08T23:37:02
|
|
Fix: Check for HTML block continuation after checking for blockquote mark.
|
|
14090e2e
|
2016-10-08T23:30:49
|
|
md2html: Output new-line after "</blockquote>".
|
|
f99ad2e8
|
2016-10-08T23:22:24
|
|
Fix: Fenced code info string can contain more then just a language name.
|
|
5864554c
|
2016-10-08T23:14:19
|
|
Fix: Stop fenced code block if blockquote level changes.
|
|
9b693331
|
2016-10-08T22:59:12
|
|
Fix: Fence code block indetation base is defined by indentation of opening code fence.
|
|
59805780
|
2016-10-08T22:37:39
|
|
Fix: Handle empty and/or unclosed fenced code block.
|
|
dac9acdb
|
2016-10-08T22:21:01
|
|
Fix: Strip blank lines at start and end of indented code block.
|
|
fa112a28
|
2016-10-08T22:11:03
|
|
Fix: Do not right trim lines in code block.
|
|
269fed70
|
2016-10-08T22:06:20
|
|
Fix: Setext underline has to have same blokquote level to recognize it as such.
|
|
d65d95f0
|
2016-10-08T21:31:09
|
|
Remove bogus duplicated piece of code.
|
|
e950096b
|
2016-10-08T21:09:55
|
|
Fix misdetection of HTML block starting condition type 7.
The condition cannot span over multiple lines.
|
|
dda885e7
|
2016-10-08T21:03:10
|
|
Fix parsing of settext header underline.
If indented, it is not header.
|
|
24ac7ead
|
2016-10-08T20:55:53
|
|
Fix parsing of ATX headers.
If indented, it cannot be ATX header.
|
|
0832e113
|
2016-10-08T20:53:42
|
|
Fixes for parsing thematic breaks.
|
|
950b4d73
|
2016-10-08T20:46:33
|
|
Fix handlint of '\t' in some situations.
|
|
4f65b45b
|
2016-10-08T20:04:38
|
|
mplement raw HTML spans.
|
|
87b41e1a
|
2016-10-07T20:39:42
|
|
Implement entities.
|
|
a284a382
|
2016-10-06T23:50:56
|
|
Implement code spans.
|
|
479a1179
|
2016-10-06T21:29:38
|
|
Minor clean-up and refactorization.
|
|
7d7f0d06
|
2016-10-06T21:15:23
|
|
scripts/run-commonmark-tests.sh: Make the script more robust.
|
|
60abbb27
|
2016-10-06T21:00:06
|
|
Improve documentation comment of MD_RENDERER.
|
|
931388c5
|
2016-10-06T20:47:12
|
|
LICENSE.md: Use MIT license canonical wording.
|
|
48e30ccf
|
2016-10-06T12:55:57
|
|
README.md: Improve readability by some minor reogranizing.
|
|
c2eca50a
|
2016-10-05T11:33:25
|
|
'\\' at the end of block does not cause hard break.
|
|
f06fe013
|
2016-10-05T02:33:06
|
|
README.md: Add Coverity badge.
|
|
78674f0a
|
2016-10-05T01:51:04
|
|
Add script for building for Coverity scan.
|
|
6c47ec78
|
2016-10-04T22:13:44
|
|
Implement rudimentary infrastructure support for parsing inlines.
|
|
6a950886
|
2016-10-04T23:32:46
|
|
Fix macro ISXDIGIT_.
|
|
1a88b298
|
2016-10-04T21:52:04
|
|
md_analyze_line: Fix detection of one-line HTML block.
|
|
a0be9834
|
2016-10-04T21:28:23
|
|
md_is_html_block_start_condition: Fix check for "<!--".
|
|
33258e68
|
2016-10-04T21:18:30
|
|
Implement block quotes.
|
|
279ec8f6
|
2016-10-04T20:46:10
|
|
Implement soft and hard line breaks.
|
|
bf62fdfc
|
2016-10-04T20:34:30
|
|
README.md: Minor update of current status.
|
|
c91d636b
|
2016-10-04T20:31:26
|
|
Rename MD_TEXT_CODEBLOCK to MD_TEXT_CODE.
In text callback, caller should not care whether the code is inside a
block or inline span of code. Caller should just output it in the verbatim
form.
|
|
e0127581
|
2016-10-04T20:29:22
|
|
Implement raw HTML blocks.
|
|
d2da226c
|
2016-10-04T19:48:06
|
|
Implement fenced code blocks.
|
|
43bd2844
|
2016-10-04T03:26:56
|
|
Implemented indented code blocks.
|
|
2589694f
|
2016-10-04T02:34:02
|
|
Update README.md.
|
|
ba504fda
|
2016-10-04T02:27:43
|
|
Implement Setext headers.
|
|
80984c98
|
2016-10-04T02:18:47
|
|
Little code clean-up.
|
|
1ff00d68
|
2016-10-04T01:46:36
|
|
Fixes of ATX header parsing.
|
|
02061353
|
2016-10-04T01:11:46
|
|
ATX header cannot eat multiple lines.
|
|
0225f337
|
2016-10-04T00:55:32
|
|
Implement ATX headers.
|
|
d5535bd5
|
2016-10-04T00:36:02
|
|
For MSVC, #define inline __inline.
This fixes build in MSVC.
|
|
63a92c08
|
2016-10-04T00:18:08
|
|
Implement thematic breaks (<hr>).
|
|
93edb71a
|
2016-10-03T23:51:57
|
|
README.md: Add badge of code coverage.
|
|
50f2184a
|
2016-10-03T23:44:39
|
|
.travis.yml: Yet another fix for coverage upload.
|
|
a2e938f1
|
2016-10-03T23:36:49
|
|
.travis.yml: Fix coverage upload.
|
|
fa20bb01
|
2016-10-03T23:11:00
|
|
.trevis.yml: Create coverage data and upload them to coverage.io.
|
|
47b68427
|
2016-10-03T21:49:51
|
|
.travis.yml: Install python3 and run tests only in 'after_success' phase.
|
|
5e9951a7
|
2016-10-03T21:43:13
|
|
Merge branch 'master' of https://github.com/mity/md4c
|
|
2d21382f
|
2016-10-03T21:41:13
|
|
Run CommonMark testsuite when building on travis.ci.org.
|
|
d4cf0383
|
2016-10-03T20:52:23
|
|
README.md: Add CI build status badges.
|
|
43084eac
|
2016-10-03T20:46:33
|
|
Add recipe for continuous integration builds on https://appveyor.com.
|
|
818dd387
|
2016-10-03T20:38:11
|
|
Do not change build output dir.
It causes filename coflict on Unix systems: Linker cannot output 'md2html'
if a subdirectory of the same name exists.
|
|
33fb79f0
|
2016-10-03T20:28:12
|
|
Add recipe for continuous integration builds on https://travis-ci.org
|
|
efed58af
|
2016-10-03T20:17:15
|
|
Initial commit.
|