Skip to content

md: enable custom anchor id/href for troubleshooting guide? #922

@jorgeorpinel

Description

@jorgeorpinel

https://dvc.org/doc/user-guide/troubleshooting will have hardcoded H2 elements so we can choose the id to be short enough for error.dvc.org/{title} redirects (turned into URL hashes into this one page).

It would be ideal if we could use markdown instead (react-markdown renders them with a nice anchor link), but we don't control the id and href values in there, which tend to a little long.

Implement a solution to this in our JS engine? Find a better workaround than hardcoded H2s?

Metadata

Metadata

Assignees

No one assigned

    Labels

    p1-importantActive priorities to deal within next sprintstype: enhancementSomething is not clear, small updates, improvement suggestionswebsite: eng-docDEPRECATED JS engine for /doc🐛 type: bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions