Skip to content

Commit

Permalink
cleanup, update version
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Brue <[email protected]>
  • Loading branch information
ryanabx committed Aug 26, 2024
1 parent a395421 commit 6eeee6b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 111 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ This extension aims to provide complete language features for djot, including:
- Bold: `ctrl + b`
- Italics: `ctrl + i`
- [x] Export to HTML
- [ ] Live preview
- [x] Live preview

## Contributing

If you like djot and would like to contribute, make a PR! This extension is **heavily** work in progress, so there's a lot of work that needs to be done! The biggest thing would be getting live preview support working. See [this issue](https://github.com/ryanabx/djot-vscode/issues/1) for the details.
If you like djot and would like to contribute, make a PR! Check out the [issues](https://github.com/ryanabx/djot-vscode/issues) to see what needs to be worked on.

## Special Thanks

[Djot-Marker](https://github.com/wisim3000/Djot-Marker/) for the TextMate grammar (provides syntax highlighting)

[Djot.js](https://github.com/jgm/djot.js) for the HTML export (and in the future, preview)
- [Djot.js](https://github.com/jgm/djot.js) for Djot parsing
- [Djot-Marker](https://github.com/wisim3000/Djot-Marker/) for the original TextMate grammar (provides syntax highlighting)
File renamed without changes.
105 changes: 1 addition & 104 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "ryanabx, wisim3000, contributors",
"repository": "https://github.com/ryanabx/djot-vscode",
"bugs": "https://github.com/ryanabx/djot-vscode/issues/new",
"version": "0.1.0",
"version": "0.2.0",
"engines": {
"vscode": "^1.92.0"
},
Expand All @@ -33,91 +33,6 @@
},
"main": "./out/extension.js",
"contributes": {
"notebookRenderer": [
{
"id": "vscode.markdown-it-renderer",
"displayName": "Markdown it renderer",
"entrypoint": "./notebook-out/index.js",
"mimeTypes": [
"text/djot",
"text/markdown",
"text/latex",
"text/x-css",
"text/x-html",
"text/x-json",
"text/x-typescript",
"text/x-abap",
"text/x-apex",
"text/x-azcli",
"text/x-bat",
"text/x-cameligo",
"text/x-clojure",
"text/x-coffee",
"text/x-cpp",
"text/x-csharp",
"text/x-csp",
"text/x-css",
"text/x-dart",
"text/x-dockerfile",
"text/x-ecl",
"text/x-fsharp",
"text/x-go",
"text/x-graphql",
"text/x-handlebars",
"text/x-hcl",
"text/x-html",
"text/x-ini",
"text/x-java",
"text/x-javascript",
"text/x-julia",
"text/x-kotlin",
"text/x-less",
"text/x-lexon",
"text/x-lua",
"text/x-m3",
"text/x-markdown",
"text/x-mips",
"text/x-msdax",
"text/x-mysql",
"text/x-objective-c/objective",
"text/x-pascal",
"text/x-pascaligo",
"text/x-perl",
"text/x-pgsql",
"text/x-php",
"text/x-postiats",
"text/x-powerquery",
"text/x-powershell",
"text/x-pug",
"text/x-python",
"text/x-r",
"text/x-razor",
"text/x-redis",
"text/x-redshift",
"text/x-restructuredtext",
"text/x-ruby",
"text/x-rust",
"text/x-sb",
"text/x-scala",
"text/x-scheme",
"text/x-scss",
"text/x-shell",
"text/x-solidity",
"text/x-sophia",
"text/x-sql",
"text/x-st",
"text/x-swift",
"text/x-systemverilog",
"text/x-tcl",
"text/x-twig",
"text/x-typescript",
"text/x-vb",
"text/x-xml",
"text/x-yaml",
"application/json"
]
}
],
"commands": [
{
"command": "_djot.copyImage",
Expand Down Expand Up @@ -166,11 +81,6 @@
"title": "%djot.preview.toggleLock.title%",
"category": "Djot"
},
{
"command": "djot.findAllFileReferences",
"title": "%djot.findAllFileReferences%",
"category": "Djot"
},
{
"command": "djot.saveHTML",
"title": "%djot.saveHTML%",
Expand Down Expand Up @@ -217,22 +127,13 @@
"command": "djot.showPreview",
"when": "resourceLangId == djot && !hasCustomDjotPreview",
"group": "navigation"
},
{
"command": "djot.findAllFileReferences",
"when": "resourceLangId == djot",
"group": "4_search"
}
],
"editor/title/context": [
{
"command": "djot.showPreview",
"when": "resourceLangId == djot && !hasCustomDjotPreview",
"group": "1_open"
},
{
"command": "djot.findAllFileReferences",
"when": "resourceLangId == djot"
}
],
"commandPalette": [
Expand Down Expand Up @@ -280,10 +181,6 @@
"command": "djot.preview.refresh",
"when": "activeWebviewPanelId == 'djot.preview' || activeCustomEditorId == 'vscode.djot.preview.editor'"
},
{
"command": "djot.findAllFileReferences",
"when": "editorLangId == djot"
},
{
"command": "djot.saveHTML",
"when": "editorLangId == djot"
Expand Down
5 changes: 3 additions & 2 deletions package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"displayName": "Djot language features",
"description": "Provides rich language support for Djot.",

"djot.saveHTML.title": "Export HTML Document",
"djot.saveHTML": "Export HTML Document",

"djot.copyImage.title": "Copy Image",
"djot.preview.breaks.desc": "Sets how line-breaks are rendered in the Djot preview. Setting it to `true` creates a `<br>` for newlines inside paragraphs.",
Expand All @@ -26,5 +26,6 @@
"djot.server.log.desc": "Controls the logging level of the Djot language server.",
"djot.preview.refresh.title": "Refresh Preview",
"djot.preview.toggleLock.title": "Toggle Preview Locking",
"djot.findAllFileReferences": "Find File References"
"djot.findAllFileReferences": "Find File References",
"workspaceTrust": "Required for loading styles configured in the workspace."
}

0 comments on commit 6eeee6b

Please sign in to comment.