← Back
Editing: guide.md
# share_linkedin — Share on LinkedIn LinkedIn share URL for the current page. ## Rendered HTML This binding renders **no markup at all** — it writes a URL onto the host element's attribute (`href` on `<a>`, `src` on `<img>`). Children of the host element are your authored content and are untouched: ```html <!-- You author: --> <a data-ai-dynamic="share_linkedin" href="#" class="your-class">Your link text</a> <!-- Renders as: --> <a data-ai-dynamic="share_linkedin" href="https://example.com/resolved" class="your-class">Your link text</a> ``` Style the host element and its children — there are no binding-generated elements or classes. ## Required Attributes | Attribute | Value | Description | |-----------|-------|-------------| | `data-ai-dynamic` | `share_linkedin` | Marks this as a share_linkedin region | ## Bind Keys **None.** Self-rendering binding. ## Example ```html <a data-ai-dynamic="share_linkedin" href="#" target="_blank">Share on LinkedIn</a> ``` ## Notes - Sets the `href` attribute on `<a>` tags automatically. - Uses the current page or post permalink. - If no current post/page context exists, it falls back to the site home URL.
Save File
Cancel