Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with DocBook rendered docu: references to html anchors do not work #38

Open
Yuri05 opened this issue Mar 1, 2024 · 3 comments
Open

Comments

@Yuri05
Copy link
Member

Yuri05 commented Mar 1, 2024

e.g. in MD code I have
**tab_container_names** <a id="tab_container_names"></a> describes an abstract container (e.g. "Plasma"), which can be inserted at various places in the container structure defined in *[tab_containers](#tab_containers)*.

In the markdown docu I can navigate to the corresponding place via #tab_container_names:
https://github.com/Open-Systems-Pharmacology/developer-docs/blob/main/PKSim-DataBase/DB.md#tab_container_names
takes me to the right document section:

grafik

In the gitbook rendered docu however, appending #tab_container_names has no effect:
https://dev.open-systems-pharmacology.org/pk-sim-database/db#tab_container_names
just navigates to the beginning of the document.

@Yuri05
Copy link
Member Author

Yuri05 commented Mar 1, 2024

@msevestre Maybe there is a gitbook setting for this (or more general: for supporting GitHub flavored Markdown)?

@msevestre
Copy link
Member

I’ll ask but I’ll be surprised. What you use is NOt markdown but is a hack with html. They are probably sanitizing it

@Yuri05
Copy link
Member Author

Yuri05 commented Mar 1, 2024

Some other converters (like Pandoc) support these extensions if you explicitly tell them that your source is GitHub flavored markdown. So maybe the GitBook does as well.
If not.. well, could e.g. replace the html anchors with headings (however there are tons of them in the DB docu :))

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

No branches or pull requests

2 participants