Add optional "front matter"?

Open
#181 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript, markdown
Domain
frontend, web-dev

Research direction

Start by reading the editor’s Markdown parsing and editing entry points to find how document content and settings are handled. The issue does not name files or tests, so first trace how Markdown is loaded and saved. Done means users can enable or disable front matter, and enabled front matter has a dialog for editing fields and their content.

Written by the indexing model from the issue text.

Description

Add a setting that lets users enable/disable "front matter" markdown, for use with software that relies on that like blogging platforms, document vaults, etc.

If disabled, the frontmatter counts as "plain old markdown"
if enabled, the frontmatter becomes its own content with an edit dialog for adding fields and field content

Dominant language
JavaScript
Stars
1
Forks
1
Avg merge
9h 8m
Merged PRs (30d)
16

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Pomax/markdown-editor

All issues in Pomax/markdown-editor

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.