Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add gatsby-remark-autolink-headers support #118

Merged
merged 2 commits into from
Feb 16, 2019
Merged

feat: add gatsby-remark-autolink-headers support #118

merged 2 commits into from
Feb 16, 2019

Conversation

tonyz0x0
Copy link
Contributor

Description

The PR is aimed to add gatsby-remark-autolink-headers plugin to support markdown TOC.

@codecov
Copy link

codecov bot commented Feb 15, 2019

Codecov Report

Merging #118 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #118   +/-   ##
======================================
  Coverage    95.1%   95.1%           
======================================
  Files          28      28           
  Lines         143     143           
  Branches        8       8           
======================================
  Hits          136     136           
  Misses          7       7

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4ddeaf0...01fe350. Read the comment docs.

Copy link
Owner

@alxshelepenok alxshelepenok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can also add CSS in _generic.scss to align the headers:

.anchor {
  margin-left: -30px !important;
  padding-right: 14px !important;
}

Demo

default

@tonyz0x0
Copy link
Contributor Author

@alxshelepenok Thanks a lot.

@alxshelepenok alxshelepenok merged commit fadaca5 into alxshelepenok:master Feb 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants