Skip to content

Unhelpful Table-of-contents on Bases/Functions page #960

@claremacrae

Description

@claremacrae

Thank you for your time in completing this issue! 🙌

What is the problem in the documentation?

Is it missing something? Is the information incorrect?

I have been struggling to find Date methods in the docs, and I have just realised why.

The useful links at the top of the page say that they jump to the section for the particular type.

However, the majority of them jump to the free function of the same name.

For example, the link to the section Date actually jumps to the free function date() - this makes it hard to link users on Discord to all the cool things you can do with Date types.

Image

Here are the different URLs:

  • Clicking date() heading anchor puts this on the clipboard
    • https://help.obsidian.md/bases/functions#%60date()%60
  • Clicking Date heading anchor puts this on the clipboard
    • https://help.obsidian.md/bases/functions#Date
  • Hovering on the Date link in the list at the top of Functions file links to:
    • https://help.obsidian.md/bases/functions#Date

The problem applies to:

  • Date
  • Number
  • List
  • Link
  • File

Any suggested fixes?

If it were you handling this issue, what would you do to fix it?

I think it's an Obsidian Publish problem.

I've noticed recently in the Tasks docs that anchors to headings with punctuation in are not working.

For example, on https://publish.obsidian.md/tasks/Advanced/Styling there is a Sample HTML: Short mode heading in the side-navigation

Clicking on the heading in 'On This Page' jumps to this URL - https://publish.obsidian.md/tasks/Advanced/Styling#Sample%20HTML%20Short%20mode - and scrolls to the heading....

But pasting that URL in a separate browser window shows this URL: https://publish.obsidian.md/tasks/Advanced/Styling#Sample+HTML+Short+mode

Which does not scroll down the page.

Have any context we can refer to?

For example, a Discord link, an existing doc site, etc.

https://help.obsidian.md/bases/functions

Metadata

Metadata

Assignees

No one assigned

    Labels

    basesRelated to working with the Bases documentationbugIndicates an unexpected problem or unintended behavior in the docs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions