Closed repomorphic closed 5 years ago
There is no way of getting illegal characters in the anchor id.
The anchor has to be a valid ID
in all targets and so is limited to:
I suggest your conversion script replace the illegal characters with underscore.
Thanks. I have written a regex for replacing those illegal characters but I am wondering why these characters are illegal when I can use these characters in HTML id.
Because targets can still be html 4.
Hi there.I am trying to write a program that automatically converts my website to asciidoc one document. But I have problem with asciidoc anchors.When I add "/" character into the anchor my anchors break down.
For example.The following asciidoc code works:
The following asciidoc code does not work due to the / character.
The following asciidoc code does not work due to the ? character.
Is there a way to escape this “/” and "?" characters to allow the anchor work properly?And also that would be awesome If I can use special characters such as “/” and "?" in inline anchors.