Orchard 1.3 new feature-markdown Editor

Source: Internet
Author: User
ArticleDirectory
    • Enable markdown
    • Use the markdown editor in blog articles
    • Experience markdown Editor
    • Summary
    • References
Orchard 1.3 was released not long ago. This version provides many new features, one of which is the addition of the markdown editor. Markdown is a lightweight markup language. You can use some simple syntax to express rich text content. (For more information about markdown, click here ). In orchard, I can use this editor to replace the original tinymce editor. For example, you can use this editor when adding blog articles or creating pages. The following describes how to use this editor.

 

To enable the markdown function, go to the orchard management background and click the modules menu. Enter "markdown" in the query conditions under the features tab to find the functions we want to use. (This function is also newly added in 1.3) find this function and click Enable.

 

In blog articles, the markdown editor uses the HTML editor (the tinymce Editor) by default. You can adjust this setting in the blog article type. First, go to the content menu in the background management, and select the content types tab to find the blog post type. Edit this type and set flavor to markdown in the body part. After saving it, we can see the markdown editor when we add or edit blog posts again. In body settings, we can use HTML, markdown, and text settings, which correspond to tinymce Editor, markdown editor, and textarea respectively.

 

Experience the markdown editor. After all the above work is completed, we can post a blog article to experience the functions of the markdown editor. As you can see, the markdown editor is very simple. Basic bold, italic, and image insertion functions are available. Small but enough. In addition, the function of inserting images is the same as that in the tinymce editor, so that images can be shared. By adding the markdown editor function, we can see that orchard supports multiple editor functions. In the future, we can also expand the UBB Editor, fck editor, and other useful editors.

 

Reference http://www.davidhayden.me/blog/orchard-1.3-features-markdown-support-for-pages-blog-posts-and-content-authoring

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.