Git Product home page Git Product logo

Comments (2)

pborenstein avatar pborenstein commented on September 23, 2024

My fork was an ugly hack to get a project finished. (You can see how ugly when I set the max token from 128 to 1024 characters.) I haven't really come back to it since then. If you can make it more robust, that would be great.

from confluence2markdown.

oberlies avatar oberlies commented on September 23, 2024

Well, the issue has been present in Floby's node-tokenizer for years and there hasn't even been a bug report for this up to now. Appears to me that the project is dead. Not something where I'd want to invest...

Parsing the old (3.5) Confluence markup is quite complicated. (After all, this is why they abandoned the format.) So I now switched to an approach that avoids this problem - or rather leaves it to Atlassian:

  1. Create an empty wiki page in a current version of Confluence and save it.
  2. Edit the page again.
  3. Go to Insert > Markup and insert the Confluence markup
  4. Click on Open in source editor to show the content in the new XML-based storage format
  5. Copy the content to an XML file
  6. Add the missing header and footer (see highsource/confluence-to-markdown-converter#8)
  7. Convert to markdown using the c2md.xsl XSLT transformation from https://github.com/highsource/confluence-to-markdown-converter

from confluence2markdown.

Related Issues (2)

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.