Dom Christie

Results 69 comments of Dom Christie

Thanks for this suggestion. It might be pretty tricky to whitelist or blacklist attributes that are valid or invalid, but i'll bear it in mind

One of the difficulties with setting a line-width is handling nested elements. For example, say you have some nested lists inside a blockquote. If every converter added a line break...

> But that would be a super-annoying post-processing with a requirement to know how to continue each style of line. Exactly 😫

Hmm. This is a tricky one. I'm not sure whether Turndown _should_ alter the structure of the HTML, or detect block anchors then passed them though as unchanged. For now,...

Thanks for the idea. This feature would require a layer to capture rich text as HTML from a paste. It is probably a little out of scope for the library...

Thanks for raising this (and sorry it’s taken a while to respond). Is the emdash rule part of a particular markdown flavour? I can’t seem to find it in Gruber’s...

Great, thanks. Marking this as an enhancement for now…

Thanks for filing this. I suspect that `` is not valid HTML, and `jsdom` is throwing an exception as a result. Perhaps this is one for https://github.com/tmpvar/jsdom ?

> At worst we may need to some preprocessing for attributes. I’m not sure how easy this will be, given that as soon as the string is passed in to...

> Maybe the could accept a PR that allows us to inject a more lax alternative to jsdom? Or perhaps it could be configurable in `toMarkdown`? ``` javascript toMarkdown('Hello world!',...