Skip to content

Insert Plotly graphs #38

Answered by McShelby
edgardomortiz asked this question in Q&A
Discussion options

You must be logged in to vote

This is a Hugo / Go issue but most certainly it must be:

{{% load-plotly %}} {{% plotly json="example.json" height="450px" %}}

When using a shortcode you only must use a / if the shortcode itself uses .inner.

https://discourse.gohugo.io/t/conditional-inner-logic-for-shortcodes/131/4

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by McShelby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #36 on August 21, 2021 20:56.