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

**URL:** https://meta.discourse.org/t/propose-to-add-an-ability-to-highlight-the-xml-schema-definitions-xsd/61664
**Category:** Feature
**Created:** [April 26, 2017, 6:03pm UTC](https://meta.discourse.org/t/propose-to-add-an-ability-to-highlight-the-xml-schema-definitions-xsd/61664 "2017-04-26T18:03:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dmitry\_fedyuk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dmitry_fedyuk/32/293153_2.png) [@dmitry\_fedyuk](https://meta.discourse.org/u/dmitry_fedyuk)
#### Post date: [April 26, 2017, 6:03pm UTC](https://meta.discourse.org/t/propose-to-add-an-ability-to-highlight-the-xml-schema-definitions-xsd/61664/1 "2017-04-26T18:03:33Z")

</div>

> <https://github.com/magento/magento2/blob/2.1.6/lib/internal/Magento/Framework/ObjectManager/etc/config.xsd#L13-L17>

 ![](https://global.discourse-cdn.com/meta/original/3X/7/e/7e9e95159837103c57e9425980279867b62de9b8.png)

---

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [April 26, 2017, 9:08pm UTC](https://meta.discourse.org/t/propose-to-add-an-ability-to-highlight-the-xml-schema-definitions-xsd/61664/2 "2017-04-26T21:08:46Z")

</div>

I’m pretty sure syntax highlighter is this one:

> **[highlight.js](https://highlightjs.org/)**
>
> The Internet's favorite JavaScript syntax highlighter supporting Node.js and the web.

which a separate package with separate maintainers.

Anyway, their docs say use “html or xml” for [XSD](http://highlightjs.readthedocs.io/en/latest/css-classes-reference.html?highlight=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>
```

````

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

```

---

<div class="post-metadata">

### Author: ![dmitry\_fedyuk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dmitry_fedyuk/32/293153_2.png) [@dmitry\_fedyuk](https://meta.discourse.org/u/dmitry_fedyuk)
#### Post date: [April 27, 2017, 2:51am UTC](https://meta.discourse.org/t/propose-to-add-an-ability-to-highlight-the-xml-schema-definitions-xsd/61664/3 "2017-04-27T02:51:28Z")

</div>

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