Giter Site home page Giter Site logo

Comments (4)

jason-fox avatar jason-fox commented on May 26, 2024 1

I updated to acf58e8 in fox.jason.passthrough. I also updated to 5533b5c in this repo.

If you run dita --install after that, then you shouldn't need the other plugins. The issue here is using the git command rather than the dita command.

from fox.jason.passthrough.pandoc.

jason-fox avatar jason-fox commented on May 26, 2024

@lief-erickson

I've added basic <note> support, could you check if it works for you on your Windows Machine? You'll need to check you've got a modern version of Pandoc (e.g. 2.7.3) as RST notes were not supported in early versions such as 1.19.

ReStructuredText

Input

.. Note:: This document is an informal introduction to
   reStructuredText.  The `What Next?`_ section below has links to
   further resources, including a formal reference.

DITA Output

    <note type="note">
      <p>This document is an informal introduction to
reStructuredText. The
        <xref format="dita" href="#what-next">What Next?</xref>section below has links to
further resources, including a formal reference.</p>
    </note>

Example: here

Markdown

Input

---

## Note {.note}

Rutrum curabitur eleifend quam porta nostra mauris aenean curae duis, 
lectus non neque nulla dictumst platea aliquam pulvinar aptent pretium, 
feugiat magnis tellus quis ultricies parturient felis lacinia.

---

DITA Output

    <note type="note">
      <p>Rutrum curabitur eleifend quam porta nostra mauris aenean curae duis, 
lectus non neque nulla dictumst platea aliquam pulvinar aptent pretium, 
feugiat magnis tellus quis ultricies parturient felis lacinia.</p>
    </note>

Example: here

from fox.jason.passthrough.pandoc.

lief-erickson avatar lief-erickson commented on May 26, 2024

I was already using Pandoc 2.7.3 so that was not an issue.

I updated to acf58e8 in fox.jason.passthrough. I also updated to 5533b5c in this repo.

I attempted to run my test and got this error.

Error: Target "swagger.process.pre" does not exist in the project "DOST". It is used from target "passthrough.init".

I installed that plugin and got error that the "fox.jason.extend.css" plugin was also required.

After installing passthrough.swagger and extend.css, the <note> is being created as expected in my test file.

from fox.jason.passthrough.pandoc.

jason-fox avatar jason-fox commented on May 26, 2024

After installing passthrough.swagger and extend.css, the <note> is being created as expected in my test file.

It appears <note> processing is now working on Mac, Linux and Windows.

from fox.jason.passthrough.pandoc.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.