I am using WMD Editor and I want to add wmd_options = {"output": "Markdown"};
I have following line before tag.
<script type="text/javascript" src="../wmd/wmd.js"></script>
I want to understand how can i add this line.
wmd_options = {"output": "Markdown"};
I am not very good at using javascript please help me to use this.
Thanks
Javascript executes code in the order it is included on the page (from top to bottom). So you need to set the wmd_options first before the code in the wmd.js file is executed.