diff options
author | Spencer Williams <spnw@plexwave.org> | 2025-03-29 19:09:35 -0400 |
---|---|---|
committer | Spencer Williams <spnw@plexwave.org> | 2025-03-29 19:12:37 -0400 |
commit | f49a747adfea970f73dc96c07240794c60cec696 (patch) | |
tree | 46aa68e4ffd9eae2fde7a2c0b239a6a278535c91 /seam-html.el | |
parent | 0be370b732edd3119c0839275642f76a8a4e7b37 (diff) |
Add option to export internal links with custom CSS class
Diffstat (limited to 'seam-html.el')
-rw-r--r-- | seam-html.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/seam-html.el b/seam-html.el index b74be0b..018e56f 100644 --- a/seam-html.el +++ b/seam-html.el @@ -195,6 +195,9 @@ INFO is a plist holding contextual information. See link)))) (and (eq link (org-element-map parent 'link #'identity info t)) (org-export-read-attribute :attr_html parent))) + ;; Add Seam internal link class if appropriate. + (when (and seam-export--internal-link-class (string= "seam" link-type)) + (list :class seam-export--internal-link-class)) ;; Also add attributes from link itself. Currently, those ;; need to be added programmatically before `org-html-link' ;; is invoked, for example, by backends building upon HTML |