You are browsing as a guest. Sign up (or log in) to start making projects!

10h 22m 47s logged

headings! unknown tag handling (that doesn’t work)!

well we’ve got some nice stuff now! here’s a list of everything, including problems!:

  • just whitespace? no more!: tokens that are just whitespace get omitted
  • typescript lsp doesn’t complain: oh my god finally that was so annoying
  • what’s this tag?: if it doesn’t have a handler, it falls back to the default, that is, it turns into a string! this doesn’t work properly though, i have to fix this
  • ching chong ruby tags: now ruby tags are supported!
  • is that a highlighter?: mark elements are now supported, which just put a yellow bg on some text
  • is this a block element or not?: now the renderer can tell by looking at a token’s block property
  • proper heading rendering?!?!?: chatgpt wrote the entirety of this part because you cannot bother me to make an efficient function that wraps giant text art letters based on width
  • where’s the inline code?: that’s right, it doesn’t work and gets completely omitted! :joe_sad:

Changelog

  • (456161f) Trim content, add boolean property
  • (07da8a6) Add handlers type to make the LSP shut up, trim strings in test file
  • (b4d251c) Add handling for unknown tags
  • (d903b48) Add support for dfn, samp, ruby tags
  • (813d934) Fix code to stop TypeScript (vtsls lsp) warnings
0
42

Comments 0

No comments yet. Be the first!