diff --git a/Markdown.md b/Markdown.md new file mode 100644 index 0000000..972d7a0 --- /dev/null +++ b/Markdown.md @@ -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]] \ No newline at end of file diff --git a/_Sidebar.md b/_Sidebar.md index 8b01bcd..f6e1b52 100644 --- a/_Sidebar.md +++ b/_Sidebar.md @@ -14,6 +14,7 @@ * [[Backup]] * [[Keyboard shortcuts]] * [[Themes]] + * [[Markdown]] support * Installation & setup * [[Server installation]] * [[Packaged server installation]] diff --git a/gifs/markdown-export-note.gif b/gifs/markdown-export-note.gif new file mode 100644 index 0000000..5019fd1 Binary files /dev/null and b/gifs/markdown-export-note.gif differ diff --git a/gifs/markdown-export-subtree.gif b/gifs/markdown-export-subtree.gif new file mode 100644 index 0000000..92efb26 Binary files /dev/null and b/gifs/markdown-export-subtree.gif differ diff --git a/gifs/markdown-file-import.gif b/gifs/markdown-file-import.gif new file mode 100644 index 0000000..ce4824f Binary files /dev/null and b/gifs/markdown-file-import.gif differ diff --git a/gifs/markdown-inline-import.gif b/gifs/markdown-inline-import.gif new file mode 100644 index 0000000..3d98c0f Binary files /dev/null and b/gifs/markdown-inline-import.gif differ