LiWeny16 / MarkdownOnline

A markdown online editor with more powerful functions.
https://md.bigonion.cn
MIT License
4 stars 3 forks source link

Markdown Online View+

本项目起源于三年前和舍友的一次调侃,导火索是Typora正式收费那会,

我说,“这b项目有什么难的,做呗。”他说,“你就做吧,谅你也做不出个什么破玩意!”(纯属玩笑)

然后就一直断断续续在改进和完善,从原生JS迁移到了React,从JS变成纯TS项目,最后上了Vscode的前端编辑器,一点点的在把自己的灵感和创意尝试给落地。

再加上,现在确实全网找不到一个像样的Markdown在线且免费好用的编辑器,那我来做呗!

什么是markdown?

        和word不同,markdown是文本标记语言,它会把所有操作都以文本的形式展现出来
        例如你想写一个标题,你在word里可能得点击一下右上角的标题,但是在markdown里则是通过写在“#”后来表示这是一个标题文本
例如:

# 我是标题

        如果你想写一段代码区,在word里会比较难实现,但是在markdown里,你只需要用两个```包裹住代码即可

;```js
    alert("welcome to markdown")


如果你还不了解什么是markdown语法,那请[点我了解markdown语法](https://markdown.com.cn/intro.html)

## 为什么要使用markdown?

- 足够快捷,方便,适合写博客
- word排版容易乱, markdown舍弃了一些复杂的功能,  
  换来了一定程度的快捷
- 输入代码足够容易,并支持高亮
- 支持嵌入LATEX(word其实也可以)
- 背靠HTML语法,想你所想,做你所做
- ~~当然啦是颜狗最爱ヾ(•ω•`)o~~

## Todo

- <s>增加PDF导出</s>
- <s>增加代码高亮</s>
- <s>LATEX公式支持</s>
- <s>增加快捷键Ctrl+B加粗和Ctrl+Alt+C居中</s>
- <s>Img图片支持</s>
- <s>替换成Vscode前端编辑器,加入完整的快捷键提示支持</s>
- 像[jupyter](https://jupyter.org/)那样支持一行一行的运行JS/Python脚本(基于[WASM](https://developer.mozilla.org/zh-CN/docs/WebAssembly))
- <s>增加设置按钮以配置脚本注入和换行等规则</s>
- <s>[TOC] 支持</s>

## 教程

- LATEX请写在用$$中间  
例如 $\lambda$ 详情请见:[LaTex语法大全](https://hub.fgit.cf/KaTeX/KaTeX/blob/main/docs/supported.md)
- mermaid请见官网: [mermaid docs](https://mermaid.nodejs.cn/syntax/flowchart.html)
- emoji标签码表见: [emoji I :hearts: You!](https://gist.github.com/rxaviers/7360908)
- 本编辑器特性请见: [还没写文档嘻嘻](#)

## 新增特性

- 右对齐可以用 >>
- mermaid 流程图支持!
- 小表情支持!!!

## 更新日志

- v0.1.x 修复大量bug,新增图片管理器
- v0.x.x 懒得写,更新N个特性了已经
- v1.x 懒
- v2.x 。。。

## 开源协议

/_  
\* @Author Bigonion  
\* @Copyright 2022© 至今  
_/  

<center>

**MIT**

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FLiWeny16%2FMarkdownOnline.svg?type=large&issueType=license)](https://app.fossa.com/projects/git%2Bgithub.com%2FLiWeny16%2FMarkdownOnline?ref=badge_large&issueType=license)

</center>

## Namespace

- [github](https://github.com/LiWeny16/MarkdownOnline)
- [namespace](https://bigonion.cn)

## 在线地址

[md.bigonion.cn](https://md.bigonion.cn)

## 关于

作者:Bigonion  
邮箱:bigonion@bigonion.cn

## 致谢

感谢以下开发者对本项目做出的贡献:

<a href="https://github.com/LiWeny16/MarkdownOnline/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=LiWeny16/MarkdownOnline&max=1000" />
</a>

感谢以下开源项目对本项目做出的贡献:

[Reliance Report](/public/LICENSES/report.md)