pub fn expand_shortcodes(input: &str) -> StringExpand description
Expands all shortcodes in a string.
ยงExamples
use ssg::shortcodes::expand_shortcodes;
let out = expand_shortcodes("{{< warning >}}heads up{{< /warning >}}");
assert!(out.contains("admonition"));