• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Jquery Question

#1
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.