Add launch.json and prettify#1
Conversation
|
Ah, shoot! I see you've just pushed this yourself 🤦♂️ |
|
There are some other additions in this PR as well, however. Maybe have a look and see if you find anything useful? |
|
Also, while I'm here: in my VSCode Agda syntax highlighting extension, I found using YAML instead of JSON grammar files to be most helpful, as they require about half as many lines of code, and also you can usually get away with fewer escaped characters in your regexes. Moreover, I use Jinja2 templates to reduce code duplication. I would be happy to submit a PR adding this functionality to your extension as well if you want. |
|
Thank you and sorry for being slightly faster, I did not think someone else would try to do it :) I will check current version of your PR and merge it. There is one thing that I don't know yet how to fix: Also, it would be nice to have literate Rzk LaTeX support. Although Regarding YAML — I do not have a strong opinion here, I will get back to you about it a bit later. |
|
Ah, I have some code for literate latex that I can copy over! Also, regarding YAML+Jinja2 vs. JSON, it may be instructive to compare these two files: |
|
I have installed Markdown Preview Enhanced (this one), but it does not seem to work for |
|
Sorry, I'll be on vacation for the next week. But I'll be back the week after that and pull the latex highlighting code! (And hopefully learn a bit of rzk) |
|
Maybe we can talk a bit then? |
|
Absolutely! I haven't merged this PR yet, because I get a weird error locally, but I'm unsure if it's actually related to the PR. I will double check soon and merge. |
Summary
.rzk.mdfiles. This is useful, as having a separate "Literate rzk Markdown" format allows users to define settings for.rzk.mdfiles apart from their.mdsettings..vscode/launch.jsonfile for convenient debugging.