You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote this, so I'm to blame. But my suggested fix is simple.
Example:
{{% highlight go %}}
fmt.Println("foo")
{{< getGoCode >}}
{{% highlight go %}}
As it is now, the result of getCoCode will not get highlighted, as the shortcodes are rendered and processed separately.
I suggest they continue to do so, but make sure that the rendered result of getGoCode is part of the inner argument to highlight.
This means that the result of getGoCode will get a pass through Blackfriday (even if it is marked as "HTML"), as it is part of hightlight's inner content.
I wrote this, so I'm to blame. But my suggested fix is simple.
Example:
As it is now, the result of getCoCode will not get highlighted, as the shortcodes are rendered and processed separately.
I suggest they continue to do so, but make sure that the rendered result of getGoCode is part of the inner argument to highlight.
This means that the result of getGoCode will get a pass through Blackfriday (even if it is marked as "HTML"), as it is part of hightlight's inner content.
Makes sense, @spf13 ?
The text was updated successfully, but these errors were encountered: