Skip to content

link to specific title/paragraph of other article #527

@Saafo

Description

@Saafo

Feature Name

Link to Article Paragraph

Description

  • Assume we have two Articles, Sloth.md and Funtion.md
  • In Function.md, Outline is like:
# Function

## Overview

Summary

### Function1

Summary1
  • ❌ Currently, if we want to insert a link to the Function1 paragraph of Function.md, we have to write this in Sloth.md:
please reference to the part of `Function1` of <doc:Function>.
  • ✅ Expected we can jumping to the specific paragraph by:
please reference to <doc:Function/Overview/Function1>

and will be rendered as(or something like this):

please reference to Function#Function1

Motivation

When we describe many functions in Function.md, or we just list three functions, but each function description are very long, it is expected to jump to specific paragraph in the long page.

Importance

We can make articles also have jump-able outlines just like variables or functions in code structs or classes

Alternatives Considered

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovements or enhancements to existing functionalityneeds more informationFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions