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

Error building site failed to render shortcode "columns": failed [...] error calling RenderString [...] unrecognized character in shortcode action: U+005B '['. Note: Parameters with non-alphanumeric args must be quoted #471

Closed
gremirarunico opened this issue Jul 28, 2022 · 2 comments

Comments

@gremirarunico
Copy link
Contributor

Hi, I updated my hugo version and I started obtaining this error. Then I updated the template but the error persists.

hugo % hugo server
Start building sites … 
hugo v0.101.0+extended darwin/amd64 BuildDate=unknown
WARN 2022/07/28 11:11:33 Expand shortcode is deprecated. Use 'details' instead.
WARN 2022/07/28 11:11:33 Bundle menu mode is deprecated and will be removed
Error: Error building site: "/Users/marco/Downloads/FidoCadJ/hugo/content/docs/examples.md:163:1": failed to render shortcode "columns": failed to process shortcode: "/Users/marco/Downloads/FidoCadJ/hugo/themes/hugo-book/layouts/shortcodes/columns.html:4:12": execute of template failed: template: shortcodes/columns.html:4:12: executing "shortcodes/columns.html" at <$.Page.RenderString>: error calling RenderString: "/Users/marco/Downloads/FidoCadJ/hugo/content/docs/examples.md:4:11": unrecognized character in shortcode action: U+005B '['. Note: Parameters with non-alphanumeric args must be quoted
Built in 68 ms

To reproduce the error you can download the source code of the site that caused this error here https://github.com/gremirarunico/FidoCadJ/tree/gh-pages
I didn't find any suggestion googling.

@alex-shpak
Copy link
Owner

Hi!
There is unsolved problem now in pinned issue: #452
You can downgrade to pre 0.100 version of hugo, or delete mermaid/katex pages from example

There is problem with rendering shortcodes inside shortocodes

@mroderick
Copy link

The commands to use for removing the examples that break the build are:

rm ./content/docs/shortcodes/mermaid.md
rm ./content/docs/shortcodes/katex.md

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