Svelte and Pandoc

Author

Dheepak Krishnamurthy

Published

January 12, 2022

This page is a test of using a svelte component when using pandoc as a preprocessor.

The following is a button that is a Svelte component that increments a counter when you click on it:

The following is the code I included in the Markdown source file:

<script>
  import Counter from "$lib/components/Counter.svelte";
</script>

<Counter />

You can click on the date in this blog post to see the source markdown file that was used to render this page.

Reuse

Citation

BibTeX citation:
@online{krishnamurthy2022,
  author = {Krishnamurthy, Dheepak},
  title = {Svelte and {Pandoc}},
  date = {2022-01-12},
  url = {https://kdheepak.com/blog/svelte-and-pandoc},
  langid = {en}
}
For attribution, please cite this work as:
D. Krishnamurthy, “Svelte and Pandoc,” Jan. 12, 2022. https://kdheepak.com/blog/svelte-and-pandoc.