pulldown-cmark-to-cmark icon indicating copy to clipboard operation
pulldown-cmark-to-cmark copied to clipboard

Convert pulldown-cmark Events back to the string they were parsed from

Results 13 pulldown-cmark-to-cmark issues
Sort by recently updated
recently updated
newest added

in test the method it_generates_equivalent_table_markdown: let original_table_markdown = indoc!( "|1 |2 |3 |4 |5 |6 |7 | | :---------------: | :--------------------: | :------: | :------: | :-----------: | :--------: |...

question

When code blocks are part of lists, their three backticks need to be indented (as well as its content). When using an input [like this one](https://github.com/msrd0/cargo-doc2readme/blob/6373d7f5cb7c3fd565d229983897ecda7d96dba0/tests/pass/code-block-in-list/lib.rs), pulldown-cmark produces multiple text...

bug
help wanted

## Summary First, thanks for the project! Currently, I'm trying to add support for formatting rust code blocks in markdown files to rustfmt (https://github.com/rust-lang/rustfmt/issues/2036), and it's been nice to use...

enhancement
help wanted

After #17, #18, code block backtick count is configurable. However, there is another problem. Now let's consider such senario like below: ex.) https://github.com/yumetodo/markdown_img_url_editor_rust/blob/master/src/lib.rs#L74 1. Parse markdown file with pulldown-cmark 2....

help wanted
good first issue

I have try to prase markdown with the pulldown-cmark crate and to convert it back, using this crate. But `\\` is translated back inconsistent. At some point `\\` is converted...

help wanted

Hi @Byron! An issue was opened in the mdbook-i18n-helpers crate about how we treat backslashes in the translations: https://github.com/google/mdbook-i18n-helpers/issues/105. As you might recall, the tooling there works by - parsing...

enhancement
help wanted

This checks that the library can accurately go from Markdown to events and back to the same Markdown. I'm trying to use the library in https://github.com/google/mdbook-i18n-helpers/issues/19. My assumption was that...

https://github.com/raphlinus/pulldown-cmark/pull/622

What do you think about turning the tests that are currently done using the `stupicat` example into proper Rust tests? We can have a `tests/roundtrip.rs` or similar that consumes the...

help wanted

stupicat turns this: ``` foo let bar; let baz; ``` into this: ``` foo let bar; let baz; ``` But apparently without the extra newline, pulldown-cmark doesn't think the ``...

bug