You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please add support for Svelte syntax highlighting. I tried to use HTML markup syntax with Geany that depends on your library but it seems to break on some tags like {# each} and {#if}. Probably because of {#.
I've included screenshot and code snippet that may help represent the current situation.
<script>letcount=0;functionincrement(){count+=1;}</script><buttonon:click={increment}>
Clicked {count}
{count === 1 ? 'time' : 'times'}
</button>
{#if count > 10}
<p>{count} is greater than 10</p>
{:else if count <5}<p>{count} is less than 5</p>
{:else}
<p>{count} is between 5 and 10</p>
{/if}
Could you please add support for Svelte syntax highlighting.
Commonly, new features arrive from people interested in that feature. Current contributors are unlikely to take on new features that they won't use themselves.
Since this would be an extension to HTML, like the current support for Mako and Django, it would be a change to lexilla/lexers/LexHTML.cxx. Understanding code that mentions 'mako' and 'django' would be a starting point.
Could you please add support for Svelte syntax highlighting. I tried to use HTML markup syntax with Geany that depends on your library but it seems to break on some tags like
{# each}
and{#if}
. Probably because of{#
.I've included screenshot and code snippet that may help represent the current situation.
Docs: https://svelte.dev/docs/introduction
Originally reported in geany/geany#3562
The text was updated successfully, but these errors were encountered: