Skip to content

Commit

Permalink
🎨 fix #1000
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed May 13, 2021
1 parent e95b2e2 commit f33c90b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
13 changes: 6 additions & 7 deletions CHANGELOG.md
Expand Up @@ -96,20 +96,17 @@
* [open issues](https://github.com/Vanessa219/vditor/issues)
* [346](https://github.com/Vanessa219/vditor/issues/346) 内容主题推荐(长期有效) `改进功能`

### v3.8.4 / 2021-05-xx
### v3.8.5 / 2021-06-xx

### v3.8.4 / 2021-05-13

* [1000](https://github.com/Vanessa219/vditor/issues/1000) 升级 hljs 并添加更多的语言支持 `改进功能`
* [993](https://github.com/Vanessa219/vditor/pull/993) 加入繁體中文 `引入特性`
* [980](https://github.com/Vanessa219/vditor/pull/980) 流程图不应渲染代码高亮 `修复缺陷`
* [987](https://github.com/Vanessa219/vditor/pull/987) 完善 upload 必填项说明 `文档相关`
* [970](https://github.com/Vanessa219/vditor/pull/970) added ru_RU lang `引入特性`
* [955](https://github.com/Vanessa219/vditor/issues/955) 为 hint 内容添加是否进行 md 转换的设置 `改进功能`
* [956](https://github.com/Vanessa219/vditor/issues/956) 改进 plantuml 解析问题 `修复缺陷`
* 文档修改
* 3.8.4
* 添加 hint.parse 配置

### v3.8.3 / 2021-03-14

* [953](https://github.com/Vanessa219/vditor/issues/953) 标题删除需保留空行 `改进功能`
* [946](https://github.com/Vanessa219/vditor/issues/946) Improve delete behavior in the list item after the code block `修复缺陷`
* [949](https://github.com/Vanessa219/vditor/issues/949) lute.Md2HTML 3.7.5 后解析无 id 属性 `修复缺陷`
Expand Down Expand Up @@ -138,6 +135,8 @@
* 3.8.1
* 添加表格增加向上插入行 ⇧⌘F 和向左插入列 ⇧⌘G 的快捷键
* 快捷键配置格式修改为 ⇧⌘[] / ⌘[] / ⌥⌘[]
* 3.8.4
* 添加 hint.parse 配置

### v3.7.7 / 2021-01-19

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "vditor",
"version": "3.8.4",
"version": "3.8.5",
"description": "♏ 易于使用的 Markdown 编辑器,为适配不同的应用场景而生",
"author": "Vanessa <v@b3log.org> (http://vanessa.b3log.org)",
"homepage": "https://b3log.org/vditor",
Expand Down
12 changes: 8 additions & 4 deletions src/ts/constants.ts
Expand Up @@ -18,10 +18,14 @@ export abstract class Constants {
"rainbow_dash", "rrt", "solarized-dark", "solarized-dark256", "solarized-light", "swapoff", "tango", "trac",
"vim", "vs", "xcode", "ant-design"];
public static readonly CODE_LANGUAGES: string[] = ["mermaid", "echarts", "mindmap", "plantuml", "abc", "graphviz", "flowchart", "apache",
"bash", "cs", "cpp", "css", "coffeescript", "diff", "xml", "http", "ini", "json", "java", "javascript", "js",
"makefile", "markdown", "nginx", "objectivec", "php", "perl", "properties", "python", "ruby", "sql", "shell",
"dart", "erb", "go", "gradle", "julia", "kotlin", "less", "lua", "matlab", "rust", "scss", "typescript", "ts",
"yaml"];
"js", "ts", "html",
// common
"properties", "apache", "bash", "c", "csharp", "cpp", "css", "coffeescript", "diff", "go", "xml", "http",
"json", "java", "javascript", "kotlin", "less", "lua", "makefile", "markdown", "nginx", "objectivec", "php",
"php-template", "perl", "plaintext", "python", "python-repl", "r", "ruby", "rust", "scss", "sql", "shell",
"swift", "ini", "typescript", "vbnet", "yaml",
"ada", "clojure", "dart", "erb", "fortran", "gradle", "haskell", "julia", "julia-repl", "lisp", "matlab",
"pgsql", "powershell", "sql_more", "stata", "cmake", "mathematica"];
public static readonly CDN = `https://cdn.jsdelivr.net/npm/vditor@${VDITOR_VERSION}`;
public static readonly MARKDOWN_OPTIONS = {
autoSpace: false,
Expand Down

0 comments on commit f33c90b

Please sign in to comment.