RFE: Integrate Critic Markup into AsciiDoc

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

RFE: Integrate Critic Markup into AsciiDoc

Patrick Ben Koetter
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: RFE: Integrate Critic Markup into AsciiDoc

Alvis
I 2nd this, I struggle with finding a smooth way of providing Business User reviews of our user manual.

-Kristian
Reply | Threaded
Open this post in threaded view
|

Re: RFE: Integrate Critic Markup into AsciiDoc

Alexander Schwartz
That I've tried in the past (as technical prototype) as critics markup is not available:
  1. Marking block manually as added/removed using roles
    ++++
    <style>
    .removed{background-color: #fdb8c0}
    .added{background-color: #acf2bd}
    </style>
    ++++
    
    Hello [.added]##to the ##world! This [.removed]##an##[.added]##a## test!
    
    Produces:
  2. Post-processing HTML output of a new version and an old version using HTML-diffing (for example NPM package htmldiff-js). This leads to very similar results, but will highlight all changes in the HTML. A very minimal live prototype is here: https://asciidoc-editor.ahus1.de; once you edit a file, you can toggle the preview to show you a HTML-diff
Alexander Schwartz (alexander.schwartz@gmx.net)
https://www.ahus1.de
Reply | Threaded
Open this post in threaded view
|

Re: RFE: Integrate Critic Markup into AsciiDoc

Mamamio
We use the same approach here (defining roles). But I second Patrick's request!
Valentin