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

[foundation6 theme] Source code line numbers out of place #153

Open
hartwork opened this issue May 17, 2018 · 5 comments
Open

[foundation6 theme] Source code line numbers out of place #153

hartwork opened this issue May 17, 2018 · 5 comments
Assignees

Comments

@hartwork
Copy link
Contributor

hartwork commented May 17, 2018

Hi!

Should I report here or rather to https://github.com/okin/nikola-theme-foundation6?
As you can see in this shot, line numbers are not aligned to the related line with this theme. This is recent Chromium.

foundation6_source_code

It's a pity, because the theme has a unique style.

PS: There are more themes that have a similar issue. Should I make dedicated tickets per theme?

@Kwpolska
Copy link
Member

Here would probably be better. @okin, any ideas?

@okin
Copy link
Member

okin commented May 18, 2018

Don't have an idea yet but can take a look.

To reproduce: restructuredText with code directive like shown in the handbook?

@okin okin self-assigned this May 18, 2018
@Kwpolska
Copy link
Member

That, or a listing. Perhaps some adjustments for scrollbars or word wrap are needed?

@hartwork
Copy link
Contributor Author

hartwork commented May 18, 2018

To reproduce: restructuredText with code directive like shown in the handbook?

Probably. (It's Markdown over here.Some blocks get numbers, some don't , not sure yet why.)

@hartwork
Copy link
Contributor Author

For reproduction (with Bash):

cd "$(mktemp -d)"
yes '' | nikola init f6_play >/dev/null
cd f6_play/
nikola theme -i foundation6 >/dev/null
sed 's,^THEME = .*,THEME = "foundation6",' -i conf.py
echo $'.. date: 2018-05-18\n\nProlog\n\n    #! /bin/bash\n    two\n    three\n\nEpilog' > posts/sourcedemo.md
nikola build >/dev/null
chromium output/index.html &

Please note the $ in the line using echo.

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

3 participants