Shaun Tan

Results 21 issues of Shaun Tan

# Context Currently, `` are handled by a noop rule, meaning they aren't stripped but they only pass-on their converted inner-contents to their parents. They themselves don't have any markdown...

bug

Current implementation for collapsing whitespaces is found in the `collapseWhitespace` pre-process. The previous implementation was actually a text-process, but was later was very roughly adapted into a _**bootleg**_ pre-process: (from...

help wanted
improve

# Basic idea Given these HTML: ```html Heading Paragraph ``` ```html Heading Paragraph ``` ```html Heading Paragraph ``` The conversion will attempt to place the comment close to it's original...

feature

The coloring for the rows might be different if they are stripped: Description HTML-in-markdown Rendered HTML No <thead>, <tbody> nor <tfoot> <table> <tr> <th>Header 1</th> <th>Header 2</th> </tr> <tr> <td>Cell...

bug

# Problem 1 Currently, this HTML: ```html Header 1 Header 2 Cell 1 ``` Throws an error: ![image](https://user-images.githubusercontent.com/35413456/208583543-9756adbd-380e-4868-a505-db94d095150c.png) **The output markdown should be in HTML-syntax, the same as the above...

bug

Table columns can be aligned by adding a trailing/leading colon to the delimiter-row: ``` | Default-Left | Center-Aligned | Right-Aligned | | ------------ | :------------: | ------------: | ``` Additionally,...

improve

# Context The `mergeOverwriteArray` function found in `src > core > helpers > mergeOverwriteArray.ts` is like lodash's `_.merge` but overwrites array values instead of merging them like `_.merge`. ```js var...

bug
help wanted

When block-element are wrapped in text-formattings *(eg. ``)*, like so: ```html Bold-wrapped paragraph === SEPARATOR === === END === ``` The trailing-newlines of the block-elements becomes malformed: ```html **Bold-wrapped paragraph...

bug

Currently, the below input HTML, where a text-formatting element *(ie. ``)* has the `forcehtml` attribute: ```html TEXT ``` gives this markdown output: ```html ~~TEXT~~ ``` where the `forcehtml` doesn't propagate...

bug

If in-line elements contains block elements, they should be in HTML-syntax. For example, this HTML: ```html CODEBLOCK ``` converts to this incorrect markdown: ````markdown *``` CODEBLOCK ``` * ````

bug