Skip to content

mloubout/critic-markup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.