Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.11 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.11 KB

Critic-markup Extension For Quarto

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

Installing

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.

Using

To use this extension, simply add it to your header as a filter

---
title: Markup example
filters:
  - critic-markup
---

Example

Here is a minimal example showing the critic markup syntax and its rendering: example.qmd.

This is the output of example.qmd.