mirror of
https://github.com/docmost/docmost.git
synced 2025-11-14 06:01:14 +10:00
feat: Individual page export in Markdown and HTML formats (#80)
* fix maths node * render default html width * Add page export module * with support for html and markdown exports * Page export UI * Add PDF print too * remove unused import
This commit is contained in:
@ -60,7 +60,7 @@ export const tiptapExtensions = [
|
||||
Callout,
|
||||
] as any;
|
||||
|
||||
export function jsonToHtml(tiptapJson: JSONContent) {
|
||||
export function jsonToHtml(tiptapJson: any) {
|
||||
return generateHTML(tiptapJson, tiptapExtensions);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user