-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TW5-Syntax 2.0.0 Released #8197
Comments
Quickstart: [Howto] Use TW5-Syntax plugin with VSCode.dev |
This is really great stuff, but the predefined snippets are a pain. I would like to contribute. I think I do understand the snippet syntax. But I need some help with testing -- If I make changes to the snippets.json. How can I test the changes locally? before creating a PR |
I did find it. I only needed to install the dev-dependencies and then run the extension code with F5 - Thx for the great work. You can expect quite some snippent PRs shortly. |
I'm all in favour if that is a quicker route than porting the syntax highlighter to CodeMirror. It does look like TW5-Monaco needs quite a lot of work, for example to make it work offline with a single file wiki. |
Hi. After further research, it seems that Monaco Editor is not recommended for mobile use, and cannot be feature-complete when loaded from |
Hi @joshuafontany I had a quick look at the gory details of the TW5 textmate grammar, it's quite an undertaking. It's very disappointing about Monaco, but I'm sure a CodeMirror port of TW5-syntax would be very well received were such a thing to be possible. |
https://gk0wk.github.io/TW5-CodeMirror-Enhanced/ - this plugin includes code which provides syntax highlighting for TW5 syntax. |
TW5 Syntax v2.0.0 HAS BEEN RELEASED!!!!!
https://marketplace.visualstudio.com/items?itemName=joshua-fontany.tw5-syntax
2.0.0
text.html.tiddlywiki5
text.html.derivative
style sytanx.5.3.4
.repository
.tm-grammar
, added tiddlywiki style attributes, etc.text.html.basic
renamed ashtmlwidget-*
for easy diff/updates../tests
. Runnpm run test
to run all tests.# ^ test.commment.with.expected.scopes
lines appropriately.devDependecies
inpackage.json
.tw|.tw5|.tiddlywiki|.tiddlywiki5|text/vnd.tiddlywiki
to#typedblock
.tw|tw5|tiddlywiki|tiddlywiki5
to#codeblock
This Text Mate Grammar compatible syntax is twice as big as the official
html5
syntax, literally <5K lines of regex totext.html.basic
's 2,500~ish lines of regex. 😎I would LOVE to get this into tiddlywiki somehow, so we can have full syntax highlighting INSIDE of the "code" edit-templates. I think the best option at this point would be to try to adapt TW5-Monaco.
I have forked that here to work on the concept over the next few weeks: https://github.com/joshuafontany/tw5-monaco
The text was updated successfully, but these errors were encountered: