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

sphinx-copybutton does not copy empty lines #287

Closed
amotl opened this issue May 27, 2021 · 1 comment · Fixed by #288
Closed

sphinx-copybutton does not copy empty lines #287

amotl opened this issue May 27, 2021 · 1 comment · Fixed by #288

Comments

@amotl
Copy link
Member

amotl commented May 27, 2021

Hi there,

we are observing the problem mentioned at executablebooks/sphinx-copybutton#84 here.

For example, the code block at [1] will not get copied "as-is", all empty lines are missing. The config entries within conf.py we are currently using can be reviewed at [2].

With kind regards,
Andreas.

[1] https://crate.io/docs/python/en/latest/sqlalchemy.html#tables
[2] https://github.com/crate/crate-docs-theme/blob/0.15.1/src/crate/theme/rtd/conf/__init__.py#L112-L115

@amotl
Copy link
Member Author

amotl commented May 28, 2021

executablebooks/sphinx-copybutton#127 and #288 will resolve this situation.

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 a pull request may close this issue.

1 participant