A content editor can write and save content in markdown format

Created on 22 September 2023, over 1 year ago

Problem/Motivation

Markdown keeps the saved input much cleaner than WYSIWYG, preventing many HTML bugs and making it trivial to spot markup bugs in some other cases. (On the other hand, more features will always be available in CKEditor, and HTML elements that Markdown does not have shortcuts for, such as abbr, will look nicer after adding even if we can add dialog boxes to either CKEditor or to a markdown-based editor.)

Many sources that people may want to copy-paste into a Drutopia site from – Zulip, HackMD/CodiMD, GitLab/GitHub/Forgejo, local notes – will be in Markdown already.

Proposed resolution

Include [Markdown module]( https://www.drupal.org/project/markdown ) and [Editor.md module]( https://www.drupal.org/project/editor_md ) in an existing Drutopia feature (site or core) or in a new Drutopia feature module.

Remaining tasks

Decide if we want a paragraph type for this or make it something that is toggled by changing text formats in existing text fields (see https://gitlab.com/drutopia/drutopia/-/issues/219 also)

Decide what we want the default to be.

Decide if we want the summary field to be in Markdown by default.

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

2.0

Component

User interface

Created by

🇺🇸United States mlncn Minneapolis, MN, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024