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

Use of raw html nodes causing an issue when using jupyter-book due to thebe config #101

Closed
mmcky opened this issue Nov 26, 2020 · 4 comments
Assignees

Comments

@mmcky
Copy link
Contributor

mmcky commented Nov 26, 2020

@AakashGfude we have these raw html in our source markdown files. I am looking to get rid of them in favour of a pure md/myst solution due to thebe config getting added by jupyter-book automatically making sphinx-tojupyter acceptance of raw html nodes problematic.

```{raw} html
<div id="qe-notebook-header" align="right" style="text-align:right;">
        <a href="https://quantecon.org/" title="quantecon.org">
                <img style="width:250px;display:inline;" width="250px" src="https://assets.quantecon.org/img/qe-menubar-logo.svg" alt="QuantEcon">
        </a>
</div>
```

Does this have any affect on our html. It doesn't seem to -- it looks like it is just some html that is used in the download notebooks as a quantecon logo header? Is that right?

@mmcky
Copy link
Contributor Author

mmcky commented Nov 26, 2020

Does our theme just not show this (or is this a visual element on our html).

@mmcky
Copy link
Contributor Author

mmcky commented Jul 5, 2021

ah ok -- so we have in our css

#qe-notebook-header {
    display:none
}

@mmcky
Copy link
Contributor Author

mmcky commented Jul 7, 2021

  • move this to sphinx-tojupyter as a header setting

@mmcky
Copy link
Contributor Author

mmcky commented Jul 7, 2021

Closing this in favour of the issue that is being tracked in sphinx-tojupyter

@mmcky mmcky closed this as completed Jul 7, 2021
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

2 participants