Git Product home page Git Product logo

Comments (5)

niroyb avatar niroyb commented on July 28, 2024

Something like this but in Markdown?
https://github.com/MSFTOSSMgmt/omi/blob/master/Unix/doc/omi/omi.info

from omi.

jeffaco avatar jeffaco commented on July 28, 2024

I wonder if makeinfo, which generated that, can generate markdown too?

from omi.

andyleejordan avatar andyleejordan commented on July 28, 2024

If it's just in some other format, I bet Pandoc could convert it (if makeinfo can't directly).

from omi.

jeffaco avatar jeffaco commented on July 28, 2024

Blech. See my shelveset, jeff-pandoc, for an attempt at this. The problem is that the references are all wrong.

I used a command like:

pandoc -f html -t markdown_github -s Unix/doc/omi/omi.html --reference-links -o README.md

I tried it both with and without --reference-links, and in both cases, results were wrong. pandoc generates references like #TOC0, but then that reference isn't defined anywhere. I didn't learn a LOT about pandoc, but enough where this should have worked. I think there may be a pandoc bug.

Note that the source document is in GNU texi, but pandoc can't read that. Fortunately, we generate a number of formats, including HTML. So I read from HTML (which pandoc does read) to write out Markdown (github style).

Anyway, here's a stab. Anyone want to pick it up from here?

from omi.

jeffaco avatar jeffaco commented on July 28, 2024

Closing this issue (since nobody cares 😦), and deleting my PANDOC branch.

from omi.

Related Issues (20)

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.