Open alexanderadam opened 4 years ago
@alexanderadam: appreciate your efforts to report this. It's interesting. At this moment Turndown treats only <pre><code>...</code></pre>
as code block. Let me see how I can address your use case, but due to my recent situation it'll take some time. Thanks!
due to my recent situation it'll take some time
that's absolutely no problem! Always keep in mind that time outside of FOSS projects and your health are most important, too! So really no pressure on that.
@0x6b I observed same behaviour in Managing Logging in Systemd - Selectel Blog. pre
tag is not getting parsed!
This Chome extension: https://chrome.google.com/webstore/detail/copy-as-markdown/dgoenpnkphkichnohepecnmpmihnabdg, successfully is able to parse it. Github: JohnnyFee/CopyAsMarkdown: This is a Chrome Extension used to copy the element in current page as markdown format.
Just wanted to let you know if you wanted to see how they have implemented it.
Actual Result
Expected Result
PS: I'm not sure but is the
<
vs<
thingy also a bug or expected? Because I have the optionReplace angle brackets (<>)
with HTML entities disabled and it still shows up as HTML entities.PPS:
This is the underlying HTML in case the page is removed someday (Click to show code)
```html ```