Closed strazan closed 1 year ago
Table is not included in CommonMark spec so you can't parse table with remark-parse only. You have to setup remark-gfm like:
import { unified } from "unified";
import markdown from "remark-parse";
import gfm from "remark-gfm";
import docx from "remark-docx";
const processor = unified().use(markdown).use(gfm).use(docx, { output: "blob" });
Describe the bug My markdown containing table does not convert to table in docx.
To Reproduce
The
example.docx
fileSame string in the playground
Expected behavior To be a table in the docx.
Additional context
"remark-docx": "^0.1.6"
"file-saver": "^2.0.5"