Jump to content

in-page editing / create.js / create.php


felix
 Share

Recommended Posts

Still thinking about this frequently. Still reaching no satisfying conclusions.

Lately I'm leaning towards a solution that completely avoids HTML altogether - I came across this Markdown editor, and really like the concept:

https://markdown-it.github.io/

The problem with this, is there's no server-side (PHP) version of this otherwise excellent, fast, very complete Markdown implementation. Would rather not depend on Node for this. Would rather not have to port and maintain the whole thing. Wonder if js2php would run it, but the project has been unmaintained for 3 years.

I would like to use this in conjunction with a simple token replacement system - so if you were to type in "{kittens}", the token would appear on a list, from which you'd be able to specify what you want to replace it with. This would have plugins, so you could add image features, a table builder, or other things for which Markdown isn't ideal.

Just thinking out loud here... I'm working on too many other projects at the moment :-)

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...