Roberto Alsina
c0f4da86fe
* Create a sc_result struct that can contain errors as well as the parse results. * Use sccount to report the found shortcodes instead of checking values * Various Makefile and test-running fixes Reviewed-on: #1 Co-authored-by: Roberto Alsina <roberto.alsina@gmail.com> Co-committed-by: Roberto Alsina <roberto.alsina@gmail.com>
553 B
553 B
TODO and TODO'NT
Things That May Get Done
- Inform tag type (% or <) in result
- Handle other kinds of quotes
- Handle escaping quote characters
- Handle escaping the shortcode itself like
\{{% foo %}}
(check with hugo docs) - Report errors on mismatched
{{% foo >}}
- Add self-closing shortcodes
{{< foo />}}
(also, how TF do they work?) - Add inline shortcodes
{{< time.inline >}}{{ now }}{{< /time.inline >}}
- Start integrating with Crystal
Produce decent error structuresDetect mismatched start/end like {{% foo >}}