Skip to content

Commit

Permalink
feat!: update markup mode to codemirror6 (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
d3m1d0v committed May 21, 2024
1 parent c4e2313 commit 5b416b2
Show file tree
Hide file tree
Showing 60 changed files with 1,677 additions and 1,748 deletions.
11 changes: 11 additions & 0 deletions demo/md-content.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
export const initialMdContent = `
# Это заголовок {#якорь}
{% cut "Заголовки" %}
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
{% endcut %}
{% cut "Это заголовок ката" %}
**А** *здесь* ~~его~~ ++крутой++ ^к^~о~^н^~т~^е^~н~^т^
Expand Down
226 changes: 202 additions & 24 deletions package-lock.json

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

10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,19 @@
"dependencies": {
"@bem-react/classname": "^1.6.0",
"@bem-react/classnames": "1.3.10",
"@codemirror/autocomplete": "6.16.0",
"@codemirror/commands": "6.5.0",
"@codemirror/lang-markdown": "6.2.5",
"@codemirror/language": "6.10.1",
"@codemirror/state": "6.4.1",
"@codemirror/view": "6.26.3",
"@gravity-ui/i18n": "^1.1.0",
"@gravity-ui/icons": "^2.0.0",
"@types/codemirror": "5.60.5",
"@lezer/highlight": "1.2.0",
"@lezer/markdown": "1.3.0",
"@types/is-number": "^7.0.1",
"@types/markdown-it": "^12.2.3",
"base64-arraybuffer": "1.0.2",
"codemirror": "5.65.0",
"is-number": "^7.0.0",
"markdown-it-attrs": "4.1.4",
"markdown-it-color": "^2.1.1",
Expand Down
Loading

0 comments on commit 5b416b2

Please sign in to comment.