sveltejs / sites

Monorepo for the sites in the Svelte ecosystem
https://svelte.dev
MIT License
290 stars 123 forks source link

Syntax highlighting is broken for else & elseif blocks #448

Closed txtyash closed 1 year ago

txtyash commented 1 year ago

The syntax highlighting does not work correctly in {:else} & {:else if} blocks: https://svelte.dev/repl/02b9c19b8c3f4b17bfcb9dd3efd28704?version=3.55.1

This example from the tutorial writes 5 > x to get around the issue probably: https://svelte.dev/tutorial/else-if-blocks

Might be similar to: #161

gtm-nayan commented 1 year ago

Can you send a screenshot? Everything looks normal to me.

txtyash commented 1 year ago

Can you send a screenshot? Everything looks normal to me.

Yes, I don't recall much. It works now.