forked from syl20bnr/spacemacs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix export-breaking org links in documentation
As discussed in syl20bnr#8054 and syl20bnr#8136, org doesn't always export links correctly if the syntax deviates from the one given on the org mode website. This results in broken links on github and/or spacemacs.org as in syl20bnr#6722, syl20bnr#8036, syl20bnr#8054, syl20bnr#7956 and possibly others. This modifies all links not already fixed in syl20bnr#8136. Internal links are handled with Custom IDs. External file links are formatted according to org guidelines as well (see bottom), and if they point to a specific headline in an external file, a custom ID is created as well. Fixes syl20bnr#6722, syl20bnr#8036, syl20bnr#7956, syl20bnr#7916 as well as other unreported broken links. http://orgmode.org/manual/External-links.html#External-links http://orgmode.org/manual/Internal-links.html#Internal-links TODO: make Custom IDs invisble in space-org-mode
- Loading branch information
Showing
5 changed files
with
93 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.