Skip to content

Enable me to disable Header links in Markdown #7878

@MarcSkovMadsen

Description

@MarcSkovMadsen

When I use # for creating headers Panel creates an anchor link. This is not always what I want.

For example often when used in sidebars its not really what you want. Furthermore sometimes hovering over the test makes the text move which gives a really bad user impression (main problem).

import panel as pn

pn.extension()

pn.Column(
    pn.widgets.Button(name="Click me"),
    pn.pane.Markdown("## Thank you for sharing!", sizing_mode="stretch_width", align="center"),
    pn.widgets.Button(name="Click me"),
    width=800
).servable()

Image

This example does not make anchor link jump.

In panel-extensions/panel-material-ui#143 it does

anchor-jump.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementMinor feature or improvement to an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions