Looks like the package installs the property editor, but you then have to go and make a data-type that uses that property editor (it shows for me in the dropdown list when adding or editing a datatype)
Once the package is installed, then go to the developer section and right click Developer > Data types > Create. Give a name to the new data type and select "Markdown" from the dropdown list.
To convert the markdown format to html, import the namespace Our.Umbraco.Web.PropertyEditors.Markdown and use the helper MarkdownHtmlHelper.MarkdownToHtml. For example, this is the code I'm using in /Views/Umbraco/Homepage.cshtml
Not showing up in RC3
I just tested the package in RC3.
While the install did complete and the package is in the App_Plugins folder, the datatype is not showing up in the UI.
Any steps I have missed?
Looks like the package installs the property editor, but you then have to go and make a data-type that uses that property editor (it shows for me in the dropdown list when adding or editing a datatype)
Great work Jorge!
Hi Thomas,
Once the package is installed, then go to the developer section and right click Developer > Data types > Create. Give a name to the new data type and select "Markdown" from the dropdown list.
To convert the markdown format to html, import the namespace Our.Umbraco.Web.PropertyEditors.Markdown and use the helper MarkdownHtmlHelper.MarkdownToHtml. For example, this is the code I'm using in /Views/Umbraco/Homepage.cshtml
Hope it helps
Thanks
Jorge
@alex Thanks for the feedback! :) How can I change the package so the Markdown data type gets installed as well?
Ahhh, of couse :-) Just like v4. #H5IS
Works now!
is working on a reply...