AA3kw‖

FccLy‖Working with Markdown (.md) files

7xEAD‖LibreOfficeDev Writer can open and save files in the Markdown (.md) file format, as well as paste Markdown content in a text document.

dQk5x‖Markdown is a lightweight markup language that allows you to format text using simple syntax. It is widely used for writing documentation, README files, forum posts, and even some emails.

oiYCg‖Opening a Markdown file

  1. b7xvB‖Choose File - Open.

  2. DCqqC‖Locate the Markdown file that you want to open.

    ACAAx‖If the file has a *.md extension, select the file.

    mRogn‖If the Markdown file has another extension, select the file, and then select "Markdown Document (.md, .markdown)" in the File type box

  3. TExFQ‖Click Open.

CNGTW‖To save a file in Markdown format

  1. zGgAd‖Open the text document that you want to save as a Markdown file.

  2. fgC3P‖Choose File - Save as.

  3. GBTYp‖In the File name box, enter a name for the file.

  4. Z9EEG‖In the File type box, select "Markdown Document (.md)".

  5. 56eF6‖Click Save.

mmsCM‖Pasting Markdown content in a LibreOfficeDev text document.

KBxk5‖You can paste Markdown content directly into a LibreOfficeDev Writer document. Writer intelligently applies the corresponding styles, automatically assigning paragraph, list, and character formatting, using the automatic (default) styles.

Tip Icon

dkA8S‖You can import styles from a custom template to customize the automatic styles.


FDiMB‖Opening a Markdown file using the command line

3BqA8‖You can open a Markdown file from the command line and automatically apply a template to generate a custom-formatted text document. Enter the following command in your operating system’s command shell to apply the template file template.ott to the file test.md:

soffice --infilter='Markdown:{"TemplateURL":{"type":"string","value":"./template.ott"}}' test.md

Tip Icon

2mmw6‖LibreOfficeDev implements the CommonMark Markdown specification.


Please support us!

Please support us!