Propose to add an ability to highlight the XML Schema Definitions (XSD)


(Discourse.PRO) #1


(Eli the Bearded) #2

I’m pretty sure syntax highlighter is this one:

https://highlightjs.org/

which a separate package with separate maintainers.

Anyway, their docs say use “html or xml” for XSD.

In Discourse, that would mean naming it on the code fence:

```xml
    <xs:complexType name="argumentType" abstract="true" mixed="false">
	<xs:complexContent>
	    <xs:extension base="argumentType" />
	</xs:complexContent>
    </xs:complexType>
```
    <xs:complexType name="argumentType" abstract="true" mixed="false">
        <xs:complexContent>
            <xs:extension base="argumentType" />
        </xs:complexContent>
    </xs:complexType>

(Discourse.PRO) #3

It would be nice to make it working for the GitHub oneboxes.