Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

h2m shouldn't convert some <pre> blocks to indented blocks #137

Closed
teoli2003 opened this issue Aug 13, 2021 · 0 comments
Closed

h2m shouldn't convert some <pre> blocks to indented blocks #137

teoli2003 opened this issue Aug 13, 2021 · 0 comments

Comments

@teoli2003
Copy link

When converting HTTP to Markdown in mdn/content#7853, @hamishwillee noticed that the converter was transforming <pre> blocks without any brush applied to this format:

    Pre block content

while we prefer:

 ```
 Pre block content
 ```

This may also happen for <pre class="brush: plain">.

We have quite a few occurrences of these, so it is likely worth fixing the converter.

@caugner caugner transferred this issue from mdn/yari Nov 15, 2022
@caugner caugner closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Development

No branches or pull requests

3 participants