nextcloud 18 如何开启markdown editer有效

给nextcloud安装了 mark down editer 插件,但是发现没有效果,原因是和原始text插件冲突了。
https://github.com/icewind1991/files_markdown/issues/135
这里有解决方案,大概翻译一下:

1. disable default "text"-app
2. add "plain text editor"-app
3. add "markdown editor"-app

1.停用 “text” 插件
2.启用 "plain text editor"
3.启动"markdown editor"

plain text editor是另一个插件的名称(可在商店下载),相当于换掉这text,这注意一下,按这步骤操作后确实能有效markdown editor


image.png

每种markdown 编辑器支持的语法稍微有点不同,看了下说明:

  • Embed images and videos stored on your Nextcloud
  • Use LaTeX to add math to your documents
  • Keep track of tasks with checkbox lists
  • Syntax highlighting for your code
  • Create graph using mermaid.js
  • Fully rendered previews in the sidebar
    主要是支持LaTex 数学公式和mermaid.js绘图。

的markdown语法编辑器支持如下公式

他的也支持。

image.png

另外这支持mermaid.js语法,比如最简单用官网的例子,这个是不支持的。

graph TD
A[Hard] -->|Text| B(Round)
B --> C{Decision}
C -->|One| D[Result 1]
C -->|Two| E[Result 2]
image.png

你可能感兴趣的:(nextcloud 18 如何开启markdown editer有效)