GithubHelp home page GithubHelp logo

markdown-3103679's Introduction

Provides Markdown integration for Drupal and allows content to be formatted in a simple plain-text syntax that is transformed into valid HTML.

The Markdown syntax is designed to co-exist with HTML, so you can set up input formats with both HTML and Markdown support. It is also meant to be as human-readable as possible when left as "source".

There is current an issue open to make the CommonMark Spec the "official" Drupal Coding Standard.

Requirements

  • PHP >= 5.5.9:

    This is the minimum PHP version for Drupal 8.0.0. Actual minimum PHP version depends on which Drupal core version and which markdown parser you install.

  • A Markdown parser:

    While there are several types of PHP Markdown parsing libraries out there, this module's primary purpose is to bridge the gap between these libraries and Drupal by offering an integration wrapper around them. Currently, this module supports the following parsers out-of-the-box:

Installation

  • Follow the standard Drupal installation instructions:

    https://www.drupal.org/docs/extending-drupal/installing-modules

  • Choose a Markdown parser from above and install it via Composer:

    https://getcomposer.org/doc/

  • Enable and edit your global (default/site-wide) Markdown parser in your site:

    /admin/config/content/markdown

  • Optionally, create a new text format or edit an existing one to add the Markdown filter to it where you can choose to inherit the site-wide settings or override the settings for that particular text format:

    /admin/config/content/formats

    Note: Markdown may conflict with other text format filters, depending on the order in which filters are configured to apply. If unexpected markup occurs when the text format is configured with other filters, experiment with the order of the filters to attempt to resolve any issues.

    The "Limit allowed HTML tags and correct faulty HTML" filter is intentionally disabled by default because this module duplicates the same functionality use its own: Render Strategy.

Documentation

Extensive documentation for this module can be found at:

https://www.drupal.org/docs/contributed-modules/markdown

Editor.md

If you are interested in a Markdown editor please check out the Editor.md module for Drupal.

markdown-3103679's People

Contributors

markhalliwell avatar frjo avatar googletorp avatar goba avatar hchonov avatar eojthebrave avatar mradcliffe avatar slashrsm avatar

Watchers

Pavel Nakonechnyi avatar James Cloos avatar Alexandre Bezroutchko avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.