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

First line formatting in the code block using fences #86

Open
adanielov opened this issue Aug 22, 2020 · 1 comment
Open

First line formatting in the code block using fences #86

adanielov opened this issue Aug 22, 2020 · 1 comment

Comments

@adanielov
Copy link

This is same issue as in #84

image

Unfortunately, the Highlight plugin mentioned in #84 as a workaround does not meet our needs.
Hoping to get the root cause fixed.

padding: .2rem .4rem; in css-compiled/theme.css seems to be creating the trouble. But where does it come from?

@ghost
Copy link

ghost commented Sep 12, 2020

It comes from _typography.scss, which has the rule of padding: .2rem .4rem. Editing the scss won't work unless you install additional dependencies to rebuild it, so it's best to edit the css-compiled/theme.css and change this line to padding: .2rem .0rem to fix the first-lin code indentation problem.

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

No branches or pull requests

1 participant