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

CSS Macro not working #15

Open
Andriow opened this issue Jul 12, 2018 · 3 comments
Open

CSS Macro not working #15

Andriow opened this issue Jul 12, 2018 · 3 comments

Comments

@Andriow
Copy link

Andriow commented Jul 12, 2018

Hi, i am trying to use nbconflux, but i am not able to enable the CSS Macro, could you add some step by step to enable this feature, or add some link to this in the documentation, please? I am using confluence server here.

@parente
Copy link
Contributor

parente commented Jul 28, 2018

@Andriow Sorry, but I do not know the steps to enable the CSS macro. The admin(s) of our Confluence instance turned it on and I don't have that level of access to poke around.

@danizen
Copy link
Contributor

danizen commented Sep 5, 2019

@Andriow , I had this issue and got past it. If you are the administrator of the space, you can add the needed styles within the space stylesheet. I went there as follows:

  • Space Tools
  • Look and Feel
  • Stylesheet
  • Edit

Then, paste this in:

@import "https://nbviewer.jupyter.org/static/build/notebook.css";

a.anchor-link {
    display: none !important;
}
body div.output_subarea {
    max-width: none;
}
body.page-gadget #main {
    width: auto;
}
body.page-gadget {
    padding-top: 0;
}

@danizen
Copy link
Contributor

danizen commented Sep 5, 2019

Oh - and when more thing - you probably want to run nbconflux with --exclude-style

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