XMod Pro
New in XMod Pro
Demo
Free Module Kits
XMod Pro Addons
Training
Development Services
University
Guide
Guide (Legacy)
Answers
Articles
Videos
Exchange
Discuss
Ideas
User Group
Legacy Forums
Downloads
Support
Browse it all or refine your selection using the filters below on the left.
By: Kelly Ford On: 05/18/2020
Link to this Article https://dnndev.com/Learn/Guide/Article/xmod-pro-49-released
I'm really happy to let you know that we just released version 4.9 of XMP. It includes a brand new way to enter and display content with Markdown.
If you're unfamiliar, markdown is a plain-text way to create HTML content with a simplified syntax. For instance, if you want to add an H1 you would enter text like this:
# Hello World
A bullet list would be like this:
* Item One * Item Two * Subitem One * SubItem Two ...and so on...
This content can be typed into any plain text editor like XMP's <Textarea> form control or in Windows Notepad. In this release we've added a new form control: <Markdown>. It provides a multi-line text input control similar to <Textarea> but it adds syntax coloring for markdown, making editing more pleasant and coherent. You do not need to use the new <Markdown> control. You can use any control that allows text entry.
<Textarea>
<Markdown>
The real magic happens when that content is rendered out to the page. For that we've added a new template tag: <xmod:Markdown>. Using it is quite straightforward. Simply put your markdown content between the opening and closing tags like so:
<xmod:Markdown>
<xmod:Markdown> # I'm an H1 Tag ## I'm an H2 Tag * List Item 1 * List Item 2 </xmod:Markdown>
<h1>[[Title]]</h1> <h4>[[Author]]</h4> <xmod:Markdown>[[Body]]</xmod:Markdown>
We also tweaked an annoying issue with the Inline Editor on DNN 9.0 and later. The Persona Bar would overlap the editor's pop-up window. Also, the success or error message that appears when saving your changes has been moved and better colored to make it more visible and useful.
XMod Pro Changes
XMod Pro v.4.9 is now available in our downloads section. Existing customers with an active subscription as of May 18, 2020 can use it for free. Otherwise, you should renew your license before installing.