enkidevs / enkidevs/remark-stringify
needed mdast-util-gfm-table to properly render tables
Open
- Dominant language
- JavaScript
- Stars
- 4
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
The following pipeline would fail without explicitly setting `toMarkdownExtensions`:
```javascript
const markdownString = await unified()
// NOTE
.use(rehypeParse)
.use(rehypeRemark)
// NOTE without this, it would fail to render tables
.data("toMarkdownExtensions", [gfmTableToMarkdown()])
.use(remarkStringify)
.process(transformedHtmlString)
```
In the docs, it seems to indicate that tables will be rendered just fine—what am I missing?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.