Pollen for Visual Studio CodeThis extension adds support for the Pollen publishing system, including:
This extension adds syntax highlighting for Pollen constructs only, and thus depends on external Racket highlighting packages in some cases. We highly recommed our users to use this extension alongside the Racket for VS Code package — its Racket highlighting support is one of the best you can find. Syntax highlightingThe theme used in the screenshots is customized One Dark Pro. The code samples are taken from this article. All common Pollen filetypes are supported; you can see how a sample The extension also has special handling for the The extension naturally also supports Pollen Markup; the highlighting is mostly similar to the preprocessor files, but has one extra feature:
the embedded code (not necessarilly Racket code) in the
Embedded LaTeX blocks get syntax highlighting as well, provided you use the recommended function/tag names This is an image showcasing the embedded language highlighting (Racket code): Defining own highlight functions/tagsThe The syntax highlighting of the embedded code depends on external syntax-highlighting extensions, so be sure to have those installed. SnippetsThe extension adds general code snippets to all of the Pollen files, and also some specialized ones for concrete filetypes. The current list of snippets is:
Pollen and MarkdownThis extension does not support Pollen Markdown ( IssuesIf you need help with Pollen, check out the great Pollen documentation, as well as some of the existing Pollen projects & guides (scroll to bottom). If you encounter any problems with the extension, be sure to open an issue on this repo and I'll try to fix it as fast as possible. Should you have any feature request or an idea how to improve this extension, please open an issue (or better, a PR). I'm not a great coder (or regexer, if you will), and don't have much experience with Pollen, so I might have messed up something. |