Topic: DText Syntax Highlighting for Visual Studio Code

Posted under e621 Tools and Applications

https://marketplace.visualstudio.com/items?itemName=JustinMorris.dtext-vscode
https://github.com/jmortiger/dtext-vscode

What it says on the tin. It's not largely done, & it's much better than unstyled text or trying to make do with Markdown styling.
It's probably not worth using unless you write very long or intricate wiki pages, where it's a great help. I'll likely keep tweaking it as I rewrite wiki pages.

Current status:

  • [x] Simple markup tags
    • [x] Bold
    • [x] Italics
    • [x] Strike-through
    • [x] Underline
    • [x] Superscript
    • [x] Subscript
    • [x] Spoiler
    • [x] Inline code
    • [x] Color
  • [ ] Links
    • [x] Anchors
    • [ ] Naked
    • [ ] Angle-bracketed
    • [x] Named
      • [x] Separator
      • [x] Square-bracketed
    • [x] Internal
      • [x] Named
      • [x] Separator
    • [x] Tag search
    • [ ] Id-based
      • [x] All (generic)
      • [ ] Post
      • [ ] Post changes
      • [ ] Forum Topic
      • [ ] Comment
      • [ ] Blip
      • [ ] Pool
      • [ ] Set
      • [ ] Takedown
      • [ ] Record
      • [ ] Ticket
      • [ ] Thumbnails
  • [ ] Block Formatting
    • [x] Block Quote
      • [x] Generalized detection
      • [x] Specific detection
    • [x] Code Block
      • [x] Generalized detection
      • [x] Specific detection
    • [x] Header
    • [ ] List
    • [x] Section
      • [x] Generalized detection
      • [x] Specific detection
      • [x] Expanded
      • [x] Named
    • [x] LTable
      • [x] Generalized detection
      • [x] Specific detection
      • [x] Separator
    • [ ] Table
      • [x] Generalized detection
      • [ ] Specific detection
      • [ ] tHead
        • [x] Generalized detection
        • [ ] Specific detection
      • [ ] tBody
        • [x] Generalized detection
        • [ ] Specific detection
      • [ ] tr
        • [x] Generalized detection
        • [ ] Specific detection
      • [ ] th
        • [x] Generalized detection
        • [ ] Specific detection

Updated

faucet

Member

Miiight be a good idea to have installation instructions in the readme. I've only ever installed VSCode extensions from the marketplace before, and the manual install instructions I could find online all seem to mention a .vsix file.

I assume I need to generate one somehow?

faucet said:
Miiight be a good idea to have installation instructions in the readme. I've only ever installed VSCode extensions from the marketplace before, and the manual install instructions I could find online all seem to mention a .vsix file.

I assume I need to generate one somehow?

It's in vsc-extension-quickstart.md.

"To start using your extension with Visual Studio Code copy it into the <user home>/.vscode/extensions folder and restart Code."

It's the default markup for extension developers.

Tbh, completely forgot about both building & removing that template file (thank you for reminding me); I should probably also just put it in a release.