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

👌 NEW: Added tag for cell-input #259

Merged
merged 3 commits into from
Dec 2, 2020

Conversation

AakashGfude
Copy link
Member

As suggested by @mmcky , we should also enable input tags to have a fixed height and scrollable, using tags.

With this PR,

```{code-cell} python3
---
tags: [scroll-input]
---

will work the same for input cells, as scroll-output was working for output cells.

If this sounds like a good addition, then we can go ahead and add it to jb docs like in this PR: https://github.com/executablebooks/jupyter-book/pull/1075/files. (although I think that these tags should be in sphinx-book-theme docs)

@choldgraf
Copy link
Member

+1 from me! Wanna add some docs here and then we can tackle a PR in JB?

@AakashGfude
Copy link
Member Author

@choldgraf sorry did not get you? Add docs in sphinx-book-theme as well?

@choldgraf
Copy link
Member

Yep we should document in both places, since people may use this theme independent of jupyter book

@AakashGfude
Copy link
Member Author

@choldgraf same goes for scroll-output then as well? Should I add docs for both here?

@choldgraf
Copy link
Member

Yeah as a general rule we document everything in both spots. Longer term we could think of ways to streamline the docs but for now I think we should make sure the information is in both spots

@AakashGfude
Copy link
Member Author

@choldgraf have finally added the docs 😅 . What do you think?

@choldgraf choldgraf merged commit 52fca2f into executablebooks:master Dec 2, 2020
@choldgraf
Copy link
Member

sorry for the slow turnaround on this - but this looks great @AakashGfude , thanks for the improvement 🎉

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 this pull request may close these issues.

2 participants