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

Wrong spacing for code blocks in lists #795

Open
Atcold opened this issue Aug 5, 2024 · 1 comment
Open

Wrong spacing for code blocks in lists #795

Atcold opened this issue Aug 5, 2024 · 1 comment

Comments

@Atcold
Copy link

Atcold commented Aug 5, 2024

The spacing before the code block looks too thin and therefore incorrect.

We have thus defined two types of primitives:

  • The first type creates new cells, either one by one or by layers. For the back-propagation algorithm, for example, there is the primitive newneurons:
    (setq layer (newneurons 5))
    This puts a list of five new cells into the variable layer.

image

I can see how GitHub rendering is also not correct (at least at the moment of writing this).
Is there a way to fix the CSS for this kind of typographical issue?

@Atcold
Copy link
Author

Atcold commented Aug 5, 2024

Adding to custom-styles.scss the following

li .highlight {
  margin-top: 5px;
  margin-bottom: 5px;
}

fixes the problem.

image

Perhaps it should be there by default?

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