Repository navigation
Releases
Releases · md2docx/md2docx
[email protected]
Minor Changes
56c5a33Thanks @mayank1513! - -mdast2docx: Re-export@m2d/codesyntax highlighting plugin frommdast2docx/plugins@m2d/tiptap: Support syntax-highlighted code blocks in DOCX exports via updated@m2d/md2docx
Patch Changes
- Updated dependencies [
6a895fe,2d33aa4,9947530]:- @m2d/[email protected]
- @m2d/[email protected]
@m2d/[email protected]
Minor Changes
56c5a33Thanks @mayank1513! - -mdast2docx: Re-export@m2d/codesyntax highlighting plugin frommdast2docx/plugins@m2d/tiptap: Support syntax-highlighted code blocks in DOCX exports via updated@m2d/md2docx
Patch Changes
- Updated dependencies [
6effeb9]:- @m2d/[email protected]
@m2d/[email protected]
Minor Changes
- #25
6effeb9Thanks @mayank1513! - - Wire@m2d/codesyntax highlighting plugin by default intoremark-docxandremark-docx-node- Support passing
falseinpluginProps(e.g.code: false,mermaid: false,table: false) to cleanly disable any default plugin - Support seamless custom plugin substitution by passing
pluginProps: { [pluginName]: false }alongsidesectionProps: { plugins: [...] } - Remove legacy
undefinedargument when invokingfrontmatterPluginand alignMdast2DocxPluginProps['frontmatter']type toParameters<typeof frontmatterPlugin>[0] - Simplify default plugin instantiation into a declarative iteration loop
- Support passing
Patch Changes
- Updated dependencies [
6a895fe,2d33aa4,9947530]:- @m2d/[email protected]
- @m2d/[email protected]
@m2d/[email protected]
Minor Changes
- #25
6effeb9Thanks @mayank1513! - - Wire@m2d/codesyntax highlighting plugin by default intoremark-docxandremark-docx-node- Support passing
falseinpluginProps(e.g.code: false,mermaid: false,table: false) to cleanly disable any default plugin - Support seamless custom plugin substitution by passing
pluginProps: { [pluginName]: false }alongsidesectionProps: { plugins: [...] } - Remove legacy
undefinedargument when invokingfrontmatterPluginand alignMdast2DocxPluginProps['frontmatter']type toParameters<typeof frontmatterPlugin>[0] - Simplify default plugin instantiation into a declarative iteration loop
- Support passing
Patch Changes
- Updated dependencies [
6a895fe,2d33aa4,9947530]:- @m2d/[email protected]
- @m2d/[email protected]
@m2d/[email protected]
Minor Changes
- #25
6effeb9Thanks @mayank1513! - - Wire@m2d/codesyntax highlighting plugin by default intoremark-docxandremark-docx-node- Support passing
falseinpluginProps(e.g.code: false,mermaid: false,table: false) to cleanly disable any default plugin - Support seamless custom plugin substitution by passing
pluginProps: { [pluginName]: false }alongsidesectionProps: { plugins: [...] } - Remove legacy
undefinedargument when invokingfrontmatterPluginand alignMdast2DocxPluginProps['frontmatter']type toParameters<typeof frontmatterPlugin>[0] - Simplify default plugin instantiation into a declarative iteration loop
- Support passing
Patch Changes
- Updated dependencies [
6effeb9]:- @m2d/[email protected]
@m2d/[email protected]
Major Changes
-
#25
2d33aa4Thanks @mayank1513! - BREAKING CHANGE: FixfrontmatterPluginsignature by removing the unused_docxfirst parameter.We apologize for the design mistake in earlier versions where
_docxwas accepted as a dummy first parameterfrontmatterPlugin(_docx, options).frontmatterPluginnow directly accepts options as its first argument:frontmatterPlugin(options?: FrontmatterPluginOptions).Migration Guide
Before:
frontmatterPlugin(undefined, { coverPage: true });
After:
frontmatterPlugin({ coverPage: true });
@m2d/[email protected]
Minor Changes
- #25
6a895feThanks @mayank1513! - -@m2d/code: Add zero-dependency lexical tokenizer, syntax themes (github-light,github-dark,monokai,executive-print), 2-column gutter line numbering, git diff highlighting, and ReDoS-safe linear scanners@m2d/code-lowlight: Addlowlight(highlight.js) syntax highlighting plugin with automatic language detection@m2d/code-shiki: Addshikisyntax highlighting plugin with TextMate grammar tokenization and AST lifecycle pre-warming
Patch Changes
- #25
9947530Thanks @mayank1513! - Simplify code block rendering to native core paragraph border styling and colored syntax runs without table or background shading bloat.
@m2d/[email protected]
Minor Changes
- #25
6a895feThanks @mayank1513! - -@m2d/code: Add zero-dependency lexical tokenizer, syntax themes (github-light,github-dark,monokai,executive-print), 2-column gutter line numbering, git diff highlighting, and ReDoS-safe linear scanners@m2d/code-lowlight: Addlowlight(highlight.js) syntax highlighting plugin with automatic language detection@m2d/code-shiki: Addshikisyntax highlighting plugin with TextMate grammar tokenization and AST lifecycle pre-warming
Patch Changes
- Updated dependencies [
6a895fe,9947530]:- @m2d/[email protected]
@m2d/[email protected]
Minor Changes
- #25
6a895feThanks @mayank1513! - -@m2d/code: Add zero-dependency lexical tokenizer, syntax themes (github-light,github-dark,monokai,executive-print), 2-column gutter line numbering, git diff highlighting, and ReDoS-safe linear scanners@m2d/code-lowlight: Addlowlight(highlight.js) syntax highlighting plugin with automatic language detection@m2d/code-shiki: Addshikisyntax highlighting plugin with TextMate grammar tokenization and AST lifecycle pre-warming
Patch Changes
- Updated dependencies [
6a895fe,9947530]:- @m2d/[email protected]
@m2d/[email protected]
Minor Changes
- #25
9f36380Thanks @mayank1513! - Enable syntax-highlighted code blocks out of the box for CLI markdown conversions via@m2d/remark-docx-node.
Patch Changes
- Updated dependencies [
6effeb9]:- @m2d/[email protected]