Welcome Guest, Not a member yet? Register   Sign In
Jquery Question
#1

(This post was last modified: 11-08-2016, 01:59 AM by wolfgang1983.)

On stack over flow when you ask a question in there editor wmd  if you have code to put you can either add 4 spaces and will go in code format or add `backtick at start and at end of code.

I would like to know if any one knows how to replicate that for jquery. I also use codemirror.

Thank you
There's only one rule - please don't tell anyone to go and read the manual.  Sometimes the manual just SUCKS!
Reply
#2

See the jQuery .append() and .prepend() methods
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

(11-08-2016, 01:40 AM)wolfgang1983 Wrote: On stack over flow when you ask a question in there editor wmd  if you have code to put you can either add 4 spaces and will go in code format or add `backtick at start and at end of code.

I would like to know if any one knows how to replicate that for jquery. I also use codemirror.

Thank you

It called Markdown.
https://en.wikipedia.org/wiki/Markdown

Markdown Editor:
- https://github.com/NextStepWebs/simplemd...own-editor
- https://code.google.com/archive/p/pagedown/

Markdown to html:
https://packagist.org/search/?q=markdown&orderBys[0][sort]=downloads&orderBys[0][order]=desc
Reply




Theme © iAndrew 2016 - Forum software by © MyBB