Closed atalaminos closed 2 years ago
typescript.xml is supposed to import JavaScript keywords; this may not be working properly.
<!-- Include all JavaScript keywords! -->
<list name="controlflow">
<include>controlflow##JavaScript</include>
<item>goto</item>
</list>
<list name="keywords">
<include>keywords##JavaScript</include>
</list>
<list name="reserved">
<include>reserved##JavaScript</include>
<item>type</item>
<item>arguments</item>
<!-- Class -->
<item>declare</item> <!-- storage modifier -->
<item>readonly</item>
<item>abstract</item>
<item>constructor</item>
<item>get</item>
<item>set</item>
<!-- Also:
public, protected, private, async, super, new, static -->
</list>
Ah, this is a dup of #124 I guess!
Reserved keywords such as return or const are not highlighted when the file is converted to epub. In JavaScript blocks the highlighting is correct.
Thanks