This extension provide a filter for processing critic markup syntax when rendering to html. The rendered html provide a flexible interface with
- The markup document with changes highlighted
- The original version
- The updated version with the changes applied
This extension was inspired by the critic markup processing for ScholarlyMarkdown available under MIT license as well ScholarlyMarkdown.git
quarto add mloubout/critic-markup
This will install the extension under the _extensions
subdirectory.
If you're using version control, you will want to check in this directory.
To use this extension, simply add it to your header as a filter
---
title: Markup example
filters:
- critic-markup
---
Here is a minimal example showing the critic markup syntax and its rendering: example.qmd.
This is the output of example.qmd.