# What is Headline Sharing?

Headline Sharing allows users to share your headings when viewing your site. This feature was inspired by how GitHub does its headlines, with some updates for UX and accessibility.

When enabled, the plugin will scan your headings that have an `ID` attribute. If found, it'll show a small link icon next to the headline when it is focused or hovered over.

<figure><img src="/files/FWwFb9LQei1i4neZQz9f" alt=""><figcaption></figcaption></figure>

You're able to add up to 4 social networks to show when sharing a headline. The "Copy Link" feature must always be enabled for accessibility, as it is natural UX behavior.

The link icon is fully accessible and works with or without JavaScript.&#x20;

### Excluding Headings

You can exclude headlines or headlines in containers by adding a CSS class:&#x20;

```javascript
has-headline-exclude
```

### Adding IDs to Headlines

Headlines without IDs are skipped automatically, although there is an admin option to enable auto-ID generation. This plugin runs its content filters late to allow other plugins to add their own IDs, making this compatible with many Table of Contents plugins.

### Setting the Social Networks

You can select up to four social networks to display next to headline sharing. As this feature is still experimental and we're still receiving user feedback, there isn't much in terms of customization.

{% hint style="warning" %}
Copy must always be selected. You can select up to three additional networks.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dlxplugins.com/highlight-and-share/headline-sharing/what-is-headline-sharing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
