markdown import/export

azivner 2018-09-03 21:04:59 +02:00
parent cfc24f2a31
commit 1674245cfb
6 changed files with 35 additions and 0 deletions

34
Markdown.md Normal file

@ -0,0 +1,34 @@
Trilium Notes supports importing Markdown (CommonMark flavor).
## Import
### Clipboard import
If you want to import just a chunk of markdown from clipboard, you can do it from editor block menu:
[[gifs/markdown-inline-import.gif]]
### File import
You can also import Markdown files from files:
* single markdown file (with .md extension)
* whole tree of markdown files (packaged into [.tar](https://en.wikipedia.org/wiki/Tar_(computing)) archive)
* Markdown files need to be packaged into tar archive because browser can't read directories, only single files.
* You can use e.g. [7-zip](https://www.7-zip.org) to package directory of markdown files into tar file
[[gifs/markdown-file-import.gif]]
## Export
### Subtree export
You can export whole subtree to .tar archive which will have directory structured modelled after subtree structure:
[[gifs/markdown-export-subtree.gif]]
### Single note import
If you want to export just single note without its subtree, you can do it from Note actions menu:
[[gifs/markdown-export-note.gif]]

@ -14,6 +14,7 @@
* [[Backup]]
* [[Keyboard shortcuts]]
* [[Themes]]
* [[Markdown]] support
* Installation & setup
* [[Server installation]]
* [[Packaged server installation]]

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB