-
Hi. I'm trying to use the tabpanes shortcode to render markdown. Instead of seeing rendered markdown, I am seeing a box with html in it: I am just starting with this example which is clearly working on this site: https://fluxcd.io/docs/installation/#install-the-flux-cli I have pasted that code as-is into the docsy-example and SeleniumHQ sites. On both, I see the html. Here is the SeleniumHQ one: I'm on Hugo v0.101.0+extended:
With Docsy v0.4.0:
I can get the tabpane to render correctly if I put it in a file at https://github.com/google/docsy/userguide. I've read the tabpane instructions, and I don't see anything specified that must be included in the config.toml. I've gone through the config.toml files for docsy and docsy-example. I found all differences and tried modding the file in docsy-example but nothing makes it work. I've compared dependencies as best as I can and even copied the versions from docsy to docsy-example, restarted the server after a new Does anyone know what might fix the tabpane so it renders markdown as expected? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
FWIW, I read through discussion #1124 out of curiosity. I setup a brand new site from scratch using that method and copied the tabpane code to _index.md. This renders as expected. Then I setup a site from scratch using the instructions at https://www.docsy.dev/docs/get-started/docsy-as-module/start-from-scratch/#tldr-setup-for-the-impatient-expert I put the same file in and it renders incorrectly: |
Beta Was this translation helpful? Give feedback.
-
I could reproduce the problem and found the reason: version
Afterwards, rendering of content in markdown should work as expected. |
Beta Was this translation helpful? Give feedback.
I could reproduce the problem and found the reason: version
v0.4.0
does not contain the latest changes to the tabpane shortcodes. All you have to do to get it working is update your module to at least the revision1b10f6bebe
:Afterwards, rendering of content in markdown should work as expected.