Skip to content

Github markdown anchor links are misaligned #198

@ccampbell

Description

@ccampbell

Hi there. Not sure exactly when this changed, but I noticed that the anchor links for github markdown previews do not seem to line up with the corresponding headings. I am using version 2.6.1 in Sublime Text 4175. See screenshot.

It seems the styles may be outdated?

.markdown-body .anchor {
  float: left;
  padding-right: 4px;
  margin-left: -20px;
  line-height: 1;
}

They line up fine when using the markdown preview.

Additionally clicking the anchor links in github flavored markdown preview does not jump you to them like it does in the regular markdown preview.

Thanks.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    S: triageIssue needs triage.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions