Commit Graph

977 Commits

Author SHA1 Message Date
Richard Ramos 060cb815f5
feat: add language tag to codeblocks 2021-04-02 15:00:22 -04:00
Roman Volosovskyi c0cbdd5763
Fix status-tag chars validation
Upper case letters should not be allowed.
Related to https://github.com/status-im/status-react/issues/11317
2020-10-22 13:15:46 +03:00
Roman Volosovskyi fdf2b95957
strong-emph, better del 2020-10-19 13:06:09 +03:00
Jakub Sokołowski b9fe921681
rename module to github.com/status-im/markdown
This resolves a conflict we have due to MatterBridge
using the exact same makrdown package in different verison.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-10 17:46:14 +01:00
Andrea Maria Piana e3ba6c6109
add mentions 2019-12-09 11:58:22 +01:00
Andrea Maria Piana af599402d0
Stripped down version of markdown 2019-11-13 12:43:44 +01:00
zzwx 4d42851d4d Fix doc typo 2019-11-04 09:47:40 -08:00
Krzysztof Kowalczyk 281270bc6d add benchmark and converage to actions 2019-09-12 11:07:31 -07:00
Krzysztof Kowalczyk 413a9e8433 add GitHub Action for testing 2019-09-12 11:00:48 -07:00
Krzysztof Kowalczyk b0273bd335 tweak travis config 2019-08-17 11:05:51 -07:00
Krzysztof Kowalczyk 545fe5c376 disable fuzzing for now 2019-08-17 11:03:44 -07:00
Miek Gieben 4ef28e6c7e Add non-blocking-space
A backslash-space is a non-blocking-space that is recognized when
enabling the NonBlockingSpace extension.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-17 10:53:44 -07:00
Krzysztof Kowalczyk b3dd8ce84a one more try 2019-08-01 18:10:31 -07:00
Krzysztof Kowalczyk ab56e29678 fix integration 2019-08-01 18:00:46 -07:00
Krzysztof Kowalczyk 12ddac5ea3 add some debugging 2019-08-01 17:22:07 -07:00
Krzysztof Kowalczyk f70ab624d0 disable GOMODULES to hopefully fix fuzz build 2019-08-01 17:02:55 -07:00
Krzysztof Kowalczyk 7f7cd2d104 hopefully fix ci_fuzzit.sh script 2019-08-01 16:52:25 -07:00
Krzysztof Kowalczyk a56eb938d7 add fuzzit.dev integration 2019-08-01 16:44:33 -07:00
ogidow ee6a7931a1 fix readme 2019-02-21 16:07:25 -08:00
Krzysztof Kowalczyk f12dffcd0f rename sFenceLine => isFenceLine 2019-02-02 23:40:24 -08:00
Krzysztof Kowalczyk 17c6be0bec add Lists.tests 2019-02-02 23:34:41 -08:00
Krzysztof Kowalczyk dcc87c7dec add prof.sh 2019-02-02 22:56:01 -08:00
Krzysztof Kowalczyk 38900631f0 move test data to .tests files 2019-02-02 22:33:23 -08:00
Krzysztof Kowalczyk c9bbc749d4 don't run -race on travis 2019-02-02 03:58:04 -08:00
Krzysztof Kowalczyk cbe1a2243e fix name of file with tests 2019-02-02 03:57:30 -08:00
Krzysztof Kowalczyk fdc677d941 move TestPrefixHeaderSpaceExtension tests to PrefixHeaderSpaceExtension.tests 2019-02-02 03:44:58 -08:00
Krzysztof Kowalczyk fd5067e8d5 move TestPrefixHeaderNoExtensions test data to .\testdata\PrefixHeaderNoExtensions.tests 2019-02-02 03:41:45 -08:00
Krzysztof Kowalczyk f892b330df start on markdown renderer 2019-02-02 03:28:52 -08:00
Krzysztof Kowalczyk 545fcbe0ef undo EmptyLinesBreakList parser flag 2019-02-02 03:26:55 -08:00
Krzysztof Kowalczyk 03944bde91 add parser.EmptyLinesBreakList list 2019-02-02 00:51:06 -08:00
Krzysztof Kowalczyk 685ba67482 remove execRecoverableTestSuite 2019-02-02 00:17:14 -08:00
Krzysztof Kowalczyk 8b93810c68 add test 2019-02-02 00:04:17 -08:00
Krzysztof Kowalczyk 1f172a28b5 add code_in_list.test 2019-02-01 23:42:06 -08:00
Krzysztof Kowalczyk 0e821b988b more emphasis tests to a file 2019-02-01 23:32:30 -08:00
Krzysztof Kowalczyk 797584256d extract readTestFile() function 2019-02-01 22:57:08 -08:00
Krzysztof Kowalczyk 4d169aeb9c disable TestPush on windows 2019-02-01 22:38:43 -08:00
Krzysztof Kowalczyk 1b222e3c8b don't run tests in parallel 2019-02-01 22:24:55 -08:00
Krzysztof Kowalczyk f95ca1d7c7 update TestOptions for change in ast printing 2019-02-01 22:17:37 -08:00
Krzysztof Kowalczyk b882a074ca don't run tests in parallel 2019-02-01 22:13:58 -08:00
Krzysztof Kowalczyk b13fd0be11 shorten tests 2019-02-01 22:03:37 -08:00
Krzysztof Kowalczyk 13d4287faf rename parser.ParserOptions => parser.Options 2019-02-01 19:40:38 -08:00
Krzysztof Kowalczyk 2e323c0ce6 tweak comments 2019-02-01 19:31:47 -08:00
Krzysztof Kowalczyk cea22d0ff9 ast.Print with more information 2019-02-01 19:14:26 -08:00
Miek Gieben d1d0edeb5d
Merge pull request #117 from mmarkdown/deferred-status
links: keep deferred status
2018-11-04 08:40:50 +00:00
Miek Gieben a07fde8256 links: keep deferred status
Keep track if a link or footnote was deferred. This makes it possible to
do this again when generating (formatted) markdown output. I.e. now all
deferred links/footnotes become inline because it does not know that
some of them had been deferred.

Without this patch:

    Footnote^[footnote *with* stuff ]

With this patch:

    Footnote[^id]

    [^id]: footnote *with* stuff

Where the later is how to the original markdown file was formatted.

Signed-off-by: Miek Gieben <miek@miek.nl>
2018-11-03 18:53:29 +00:00
Miek Gieben e7090fbc8f
Merge pull request #115 from mmarkdown/citation
mmark: allow citation suffix
2018-10-25 22:09:00 +01:00
Miek Gieben 7e9a76ee31 mmark: allow citation suffix
mmark 2 promised to implement this: allow a citation suffix:
[@!RFC1034, p. 144]. Implement this by splitting on the comma.
Add multiple tests for this new behavior.

Signed-off-by: Miek Gieben <miek@miek.nl>
2018-10-25 21:34:10 +01:00
Miek Gieben 1c842a18e8
Merge pull request #114 from mmarkdown/caption2
parser: caption: allow trailing whitespace.
2018-10-22 18:08:43 +01:00
Miek Gieben 80f2a39778 parser: caption: allow trailing whitespace.
drop sanitize anchor name as it leads to underscores being changed to
dashes, which is suppresing.

Make the detection simpler and check if there is trailing whitespace,
which we allow.

Add test case in mmark repo.

Signed-off-by: Miek Gieben <miek@miek.nl>
2018-10-22 18:03:18 +01:00
Miek Gieben 3bee7ccf9c
Merge pull request #113 from mmarkdown/caption-id
caption: allow heading ID
2018-10-20 22:39:38 +01:00