Home > front end >  Decode markup string using PHP or JS
Decode markup string using PHP or JS

Time:02-10

Is it possible to decode this markup string into HTML format using PHP or JS?

$markup = '# This is my title\nWhen i was a kid is started **loving dreams**, i want to be that, this and so one\nI was inlove. This was really awesome\n> I was loving what I have now\n>  is it saving?\n•asdasdasdwdwd';

Like this output.

This is my title

When i was a kid is started loving dreams, i want to be that, this and so one I was inlove. This was really awesome

I was loving what I have now JC is it saving? •asdasdasdwdwd

CodePudding user response:

  •  Tags:  
  • Related