Skip to content

feat: support mailto: macro conversion to Markdown links - #41

Open
mxmehl wants to merge 1 commit into
opendevise:mainfrom
mxmehl:add-mailto-support
Open

feat: support mailto: macro conversion to Markdown links#41
mxmehl wants to merge 1 commit into
opendevise:mainfrom
mxmehl:add-mailto-support

Conversation

@mxmehl

@mxmehl mxmehl commented Jul 3, 2026

Copy link
Copy Markdown

Fixes #39

This PR adds the support for converting AsciiDoc mailto:addr[text] macros to [text](mailto:addr) Markdown links. Also handles mailto:addr[] (empty label falls back to address) and the link:mailto:addr[text] form seen in the wild. Escaped macros (\mailto:) pass through verbatim.

Bare mailto:addr without brackets is left untouched. My understanding is that this is consistent with the AsciiDoc spec, but please correct me if I'm wrong.

Assisted-by: Claude:claude-sonnet-4.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support mailto: links

1 participant