# Setting the Display Settings

In addition to enabling headlines, you can adjust their display settings and appearance.

{% hint style="info" %}
To exclude a headline or a headline in a container, use the `has-headline-exclude` class.
{% endhint %}

### Generate Missing IDs

Not all headlines have an `ID` attribute, commonly known as an anchor attribute. You can toggle this option to allow Highlight and Share to generate the IDs for you.

Since the plugin runs its content filter late, other plugins should have had a chance to add their own ID attributes to the headlines. This makes Highlight and Share compatible with many Table of Contents plugins out of the box.

<figure><img src="https://219399540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FII25Fu7h0q7vR3UqUhpk%2Fuploads%2FcAxE9DNvF7KJDbfjNxAg%2Fdlx-has-missing-ids.webp?alt=media&#x26;token=dc4cdc96-5cfc-41da-9a1b-3e8e3113e8ff" alt=""><figcaption><p>Generate Missing IDs Option</p></figcaption></figure>

However, if you want auto-generation and don't have a helper plugin, you can force the plugin to generate missing IDs.

{% hint style="info" %}
Use this in conjunction with the `has-headline-exclude` class to exclude headlines or headlines in wrappers.
{% endhint %}

### Link Icon Always Visible Option

You can make the link icon always visible on the frontend by toggling this option. By default, the link icon is only shown on headline focus or hover.

<figure><img src="https://219399540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FII25Fu7h0q7vR3UqUhpk%2Fuploads%2FONZX7ZGLcVkd7IhfW6vZ%2Fdlx-link-icon-always-visible.webp?alt=media&#x26;token=1d7e546c-4fc0-42e9-a7e5-5f132ef18a26" alt=""><figcaption></figcaption></figure>

When visible, the link icons are more prominent.

<figure><img src="https://219399540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FII25Fu7h0q7vR3UqUhpk%2Fuploads%2FRLjlRkphXODlJdHs4ARP%2Fdlx-%20245.webp?alt=media&#x26;token=c6d8d608-e705-46b4-afc8-cbe16fb9e1d6" alt=""><figcaption><p>Link Icons Shown by Default</p></figcaption></figure>

### Excluding Headline Levels

You can exclude certain headline levels from being selected for sharing. You can select from all six heading levels.

<figure><img src="https://219399540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FII25Fu7h0q7vR3UqUhpk%2Fuploads%2FyhvHiOJ6IIDHjKK5YFah%2Fdlx-headline-levels.webp?alt=media&#x26;token=6d95279b-9ff6-4cea-9d1e-f2b29f6c69cd" alt=""><figcaption><p>Select Headline Levels Worth Sharing</p></figcaption></figure>

### Enabling on Post Types

You can enable headlines on certain post types. By default, they are only enabled for posts.

<figure><img src="https://219399540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FII25Fu7h0q7vR3UqUhpk%2Fuploads%2FFxJwU1kuNLeWz5KDQg86%2Fdlx-post-types-headline-sharing.webp?alt=media&#x26;token=00e1b035-5c28-4dac-b9f5-beb0bb89db4c" alt=""><figcaption><p>Post Type Settings for Headline Sharing</p></figcaption></figure>

You can auto-enable existing post types in this section.

Even if you have headline sharing disabled for a post type, you can still enable it individually by editing the post and enabling headline sharing in Highlight and Share's sidebar settings.

<figure><img src="https://219399540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FII25Fu7h0q7vR3UqUhpk%2Fuploads%2Fob1oSUdiGORybBT3LzpZ%2Fdlx-has-sidebar-settings%202.webp?alt=media&#x26;token=141e0c2f-be88-4c44-94a5-308ddab5f85c" alt=""><figcaption><p>Sidebar Settings on a Post or Page When Editing</p></figcaption></figure>

### Setting Exclusion Selectors

You can set CSS selectors to automatically exclude certain headlines. For now, this only works with CSS classes.

<figure><img src="https://219399540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FII25Fu7h0q7vR3UqUhpk%2Fuploads%2FwndNVNtG6GR02SEE5uFn%2Fdlx-selectors-exclude.webp?alt=media&#x26;token=eb1f60ce-bc34-4f6c-9fdf-35724993d7c9" alt=""><figcaption><p>Exclusion Selectors Option</p></figcaption></figure>
