Code Monkey home page Code Monkey logo

Comments (3)

rjeschke avatar rjeschke commented on August 22, 2024

This is planned, as a Markdown processor in Java only really makes sense if you can validate HTML and escape unwanted HTML. Maybe I can get this implemented until next weekend :)

It's nice to hear that somebody is trying this out ... and feedback is always great ... thanks :)

from txtmark.

cnicodeme avatar cnicodeme commented on August 22, 2024

You're welcome, it's nice to see some new interesting libs, so I try them out :)

It would also be interesting to update the bench test to the new version of all the compared markdown and eventually add others (like markdownj, the first that appears when you search on google).

I compared a bit of your processor with markdown2 for python (I use both for one of my project), and the result is the same (except for html escaping ;)).

I'll add some issues if I encounter them.

Keep up the good work ;)

from txtmark.

rjeschke avatar rjeschke commented on August 22, 2024

I've added a 'safeMode', can be specified when calling the process(...) methods. Currently it escape (when enabled) the following tags: applet, body, frame, frameset, iframe, head, html and script.

I'll re-benchmark all the stuff soon, markdownJ crashed on a few tests when I first tried to benchmark it ... well, maybe I can fix this :)

from txtmark.

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.