0

I have just implemented WMD for my editor in an ASP.NET app. The problem is the preview doesn't show the formatted HTML but the markdown instead. So if I use the (surrounded by double stars markdown syntax) I get exactly that in the preview, when I was expecting to get the html version of it.

If I explicitly enter the html tags in the textarea the preview is fine.

What am I doing wrong?

Andy
  • 739
  • 1
  • 9
  • 18

1 Answers1

0

In the configuration section (location depends on the WMD version you use) there is a output attribute, which is probably set to markdown or something similar.
Change it to

output:"HTML"

Itay Moav -Malimovka
  • 52,579
  • 61
  • 190
  • 278