Skip to content

Add mermaid shortcode#120

Merged
jarrodmillman merged 4 commits intoscientific-python:mainfrom
jarrodmillman:mermaid
Feb 23, 2022
Merged

Add mermaid shortcode#120
jarrodmillman merged 4 commits intoscientific-python:mainfrom
jarrodmillman:mermaid

Conversation

@jarrodmillman
Copy link
Member

@jarrodmillman jarrodmillman commented Feb 15, 2022

@stefanv I am having trouble figuring out why the example text is being rendered:
screenshot

  • The example is rendered, but it is supposed to show the text.
  • The text is also getting clipped in the rendered version. I don't know when this started, but it used to not do this. I know it worked correctly before we switched to scientific-python-hugo-theme, but I don't remember if it ever rendered correctly after we switched.

@netlify
Copy link

netlify bot commented Feb 15, 2022

✔️ Deploy Preview for scientific-python-hugo-theme ready!

🔨 Explore the source changes: eb976eb

🔍 Inspect the deploy log: https://app.netlify.com/sites/scientific-python-hugo-theme/deploys/62157ef298f63700088060f2

😎 Browse the preview: https://deploy-preview-120--scientific-python-hugo-theme.netlify.app

@tupui
Copy link
Member

tupui commented Feb 15, 2022

Wooo already! 😉

Copy link
Member

@tupui tupui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like it's rendering twice instead of showing the raw input. Also the items do not fit in the boxes.

@tupui
Copy link
Member

tupui commented Feb 15, 2022

Screenshot 2022-02-15 at 20 35 28

@jarrodmillman
Copy link
Member Author

jarrodmillman commented Feb 16, 2022

@stefanv The example is no longer rendered after adding a space around mermaid and \mermaid. The rendered version still cuts off the text.
screenshot

If, under Inherited from g, I unselect font-weight: 700; under .label provided by bulma.min.css, then it looks better:
after

I am not sure what the cleanest way to fix this is...

@jarrodmillman jarrodmillman merged commit 3aaf0f9 into scientific-python:main Feb 23, 2022
@jarrodmillman jarrodmillman added this to the 0.1 milestone Sep 29, 2023
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.

3 participants