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语法编辑器支持如下公式
J_\alpha(x) = \sum_{m=0}^\infty \frac{(-1)^m}{m! \Gamma (m + \alpha + 1)} {\left({ \frac{x}{2} }\right)}^{2m + \alpha} \text {,行内公式示例}
他的也支持。

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
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。