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

In e4f2475, code block with one line looks weird #350

Open
CyrusYip opened this issue Nov 29, 2022 · 0 comments
Open

In e4f2475, code block with one line looks weird #350

CyrusYip opened this issue Nov 29, 2022 · 0 comments

Comments

@CyrusYip
Copy link
Contributor

This problem occur in e4f2475 .

In the code block with one line, the space between number and code is too little. In the code block with more than one line, the space between numbers and code is normal.

image


I use hugo v0.99.1.

❯ hugo version
hugo v0.99.1-d524067382e60ce2a2248c3133a1b3af206b6ef1+extended linux/amd64 BuildDate=2022-05-18T11:18:14Z VendorInfo=gohugoio

Reproducible example:

git clone https://github.com/xianmin/hugo-theme-jane.git
cd hugo-theme-jane
git reset --hard e4f2475
hugo server --contentDir='./exampleSite/content' --config='dev-config.toml'

Visit http://localhost:1313/hugo-theme-jane/post/syntax-highlighting/ in your browser.


Example file: exampleSite/content/post/syntax-highlighting.md.

Excerpt:

```php
<?php
  echo 'Hello, World!';
?>
```

```python
print("Hello, World!")
```
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