Hongmu Notes

Markdown code block conversion

The code is most afraid of misalignment, and the conversion should be kept intact.
100% Browser local processing 0 Data upload

📝 Markdown and styles

0word count
0Number of blocks
Waiting for conversionStatus

💡 Instructions for use

  • Supports titles (# to ####), unordered and ordered lists, quotes, tables, code blocks, bold italics, inline code and links.
  • What is exported is a Word-compatible .doc file, which can be opened directly by Word and WPS and continued editing.
  • Fonts and font sizes will be written into the document style, and the title level will be retained to facilitate the generation of a table of contents.
  • The preview area only shows the structure, and the final layout will be subject to opening in Word.

The code is most afraid of misalignment, and the conversion should be kept intact.

Two ways of writing code

Inline code is wrapped in a single backtick, suitable for mentioning function names or parameters.

Multiple lines of code are surrounded by three backticks, and the language can be marked for highlighting.

Indentation and whitespace

The spaces and newlines within the code block must be retained as they are, otherwise the indentation level will be messed up.

When pasting, be careful not to let the editor automatically organize the indentation.

language identifier

The language name behind the fence is used for syntax highlighting, and is converted to the corresponding equal-width style after conversion.

The highlighting capabilities in Word are limited, the focus is on ensuring that the font and indentation are correct.

Long line processing

If the code line is very long, it will exceed the page width, and you need to manually wrap the line or reduce the font size.

Reducing the font size is safer than forcing line breaks and will not damage the code structure.

Line number

If the source document has handwritten line numbers, they will become part of the code content after conversion.

When line numbers are needed, it is recommended to use a table or list in Word after conversion.

Check after conversion

Take a complex piece of code and compare it with the source document to confirm that the indentation and symbols have not changed.

Pay special attention to full-width and half-width punctuation. Mixing them will cause the code to not run directly.

Indentation and line breaks within code blocks must be preserved; reducing font size on long lines is safer than forcing line breaks.

📖 Glossary

Markdown
Plain text format with simple symbols to mark structures.
ATX header
Use pound signs to indicate title levels, such as ## for second-level titles.
code block
A block of constant-width text surrounded by three backticks.
document flow
Word structures paragraphs and tables in sequence.

🔗 All keywords and tutorials

Keywords page of the tool12a

Return to tool home page

❓ FAQ

Can the export be edited??
Yes, both Word and WPS can be edited directly.
Is .docx supported??
Export .doc and save it as docx after opening it in Word.
Will the pictures be brought with me??
This version does not handle local images.
Does the formula support it??
LaTeX is not supported and will be retained as plain text.
Will you upload content??
No, everything is converted locally.
Can I transfer in batches??
No, one serving at a time.