Skip to content

feat(links): add httpsAutoLinks option (rebased #998 onto develop)#1051

Merged
tivie merged 1 commit into
developfrom
998-https-auto-links
Jun 17, 2026
Merged

feat(links): add httpsAutoLinks option (rebased #998 onto develop)#1051
tivie merged 1 commit into
developfrom
998-https-auto-links

Conversation

@tivie

@tivie tivie commented Jun 17, 2026

Copy link
Copy Markdown
Member

Rebases #998 onto current develop and ports its change into the new event-based link.js (the original PR targeted master and predates the link-parser restructure, where links.js was replaced by link.js).

Adds the httpsAutoLinks option: when set, protocol-less autolinks (www. shortcuts) are prefixed with https:// instead of http://. Applies to both naked-URL (simplifiedAutoLink) and angle-bracket autolinks. Fixes #806.

Changes vs the original #998:

  • Ported the two www. -> protocol spots from the removed links.js into link.js.
  • Folded in the author's follow-up commit (option type corrected string -> boolean).

Original work by @Faberle (Christian Faber); commit authorship preserved.

Supersedes #998.

Closes #806

@tivie tivie merged commit 695fc42 into develop Jun 17, 2026
2 of 11 checks passed
@tivie tivie deleted the 998-https-auto-links branch June 17, 2026 02:52
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.

2 participants