Skip to content

Commit bc06f49

Browse files
committed
update
1 parent f64a510 commit bc06f49

File tree

1 file changed

+23
-10
lines changed

1 file changed

+23
-10
lines changed

README.md

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,19 @@ This Dify plugin `md_exporter` provides tools to export Markdown text to DOCX, P
154154
## Tools
155155

156156
### Markdown → DOCX
157+
158+
> **Custom styling: Template DOCX file**
159+
> `md_to_docx` tool supports using an optional custom DOCX template file.
160+
> The default template docx file used in `md_to_docx` tool could be fond in [this link](https://github.com/bowenliang123/md_exporter/tree/main/tools/md_to_docx/template).
161+
>
162+
> In Microsoft Word, the template docx file controls the styles
163+
> for headings, paragraphs, tables, lists, etc.
164+
>
165+
> Please refer to Microsoft Words's official docs at `Modify an existing style`
166+
> section of [Customize or create new styles](https://support.microsoft.com/en-us/office/customize-or-create-new-styles-d38d6e47-f6fc-48eb-a607-1eb120dec563).
167+
> Use Microsoft Word's "Home" - "Style Panel"
168+
> to set the fonts, font size, color, spacing, indentation, alignment, etc.
169+
157170
![](_assets/md_to_docx_1.png)
158171

159172
---
@@ -190,14 +203,13 @@ output XLSX file:
190203
> - [Hyper links and Inner links](https://github.com/MartinPacker/md2pptx/blob/master/docs/user-guide.md#hyperlinks-and-vba-macros)
191204
> - and more, please refer to [docs](https://github.com/MartinPacker/md2pptx/blob/master/docs/user-guide.md).
192205
193-
> **Template PPTX file: Slide Master**
194-
>
195-
> In Microsoft PowerPoint, a slide master controls the overall design and layout of the slides in a presentation,
196-
> eg. font size on title, color style for text, layouts.
197-
>
206+
> **Custom styling by Template PPTX file: Slide Master**
198207
> `md_to_pptx` tool supports using an optional custom PPTX template file with slide master.
199208
> The default template pptx file used in `md_to_pptx` tool could be fond in [this link](https://github.com/bowenliang123/md_exporter/tree/main/tools/md_to_pptx/template).
200-
>
209+
>
210+
> In Microsoft PowerPoint, a slide master controls the overall design and layout of the slides in a presentation,
211+
> eg. font size on title, color style for text, layouts.
212+
>
201213
> If you are looking for a way to customize the appearance of your slides, you can create a template PPTX file with slide master.
202214
>
203215
> To update the slide master of template pptx file, please refer to Microsoft's official docs at [Customize a slide master](https://support.microsoft.com/en-us/office/customize-a-slide-master-036d317b-3251-4237-8ddc-22f4668e2b56).
@@ -336,10 +348,11 @@ Output `.md` file with orginal input Markdown text.
336348

337349
## Changelog
338350
- 2.0.0:
339-
- [ BREAKING CHANGE ] migrate to `pandoc` for conversion in the following tools:
340-
- `md_to_docx`, improvements in syntax parsing, file size optimization and font support for multi-language content
341-
- `md_to_html`
342-
- `md_to_html_text`
351+
- [ BREAKING CHANGE ] migrate to `pandoc` for conversion in `md_to_docx` tool
352+
- Major improvements in `md_to_docx` tool
353+
- support custom styling by using a template DOCX file, setting the fonts, font size, color style for headings, paragraphs, etc.
354+
- optimized file size in generated docx file
355+
- better support for multi-language content
343356
- remove `md_to_rst` and `md_to_epub` tools
344357
- add `force_text_value` option in md_to_xlsx tool to control whether to force convert all cell values to text string
345358

0 commit comments

Comments
 (0)