-
Try to build with the following C flags and improve your code:
```
-Wall -Wextra -Wconversion -Wcast-align -Wstrict-prototypes -Wuninitialized -Wshadow -Wformat=2 -Werror=incompatible-pointer-typ…
-
Found by OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30784
Reduced test case:
```
$ printf '>>>>a\nb\nc\nd' |build/src/cmark -t commonmark
> > > > a
> > > > b
> > > > c
…
-
When experimenting with `rpath = false` in `config.toml` for rustbuild:
~~~~
Running `/rust.git/build/x86_64-unknown-linux-gnu/stage1-rustc/release/build/pulldown-cmark-efa2881d679d19c8/build…
-
This is an awesome project which is not a simple wrapper around CMark and done the Swift way.
I am wonering a question: Is there a way to get source text ranges when iterating over the AST?
-
Give the following input:
```
X
**p**
```
The cmark library reports (through `cmark_node_get_start_column`) that the strong node starts at line 2, column 1, and ends at column 5. I would …
-
(edit: not sure how the reprex lost its formatting, but I fixed it)
The new `footnotes` feature might be useful for us at {tinkr}, but I'm not sure how to parse them as each footnote contains ide…
-
If you use [table alignment syntax](https://www.markdownguide.org/extended-syntax#alignment), the output is completely broken.
This seems to work:
| Syntax | Description | Test Text …
-
Unfortunately, the API seems pretty limited: https://docs.rs/pulldown-cmark/0.7.2/pulldown_cmark/struct.Parser.html
So until it's being extended, I guess we're kinda stuck with this extra allocatio…
-
When `--wrap=0` (nowrap) is set, we get proper escaping to prevent an ordered list from being created:
```
% ./build/src/cmark -t commonmark --width 0
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa…
-
I'm working on replacing libmarkdown ([Discount](https://github.com/Orc/discount)) with libcmark in one of my projects, but progress is currently blocked by the lack of HTML table-of-contents generati…