humanmade / humanmade/h2

Store hash of Markdown in content

Open
#408 0 comments 0 reactions 0 assignees View on GitHub
Enhancement Low priority
Dominant language
JavaScript
Stars
8
Forks
1
Avg merge
1d 9h
Merged PRs (30d)
7

Description

To be able to offer programmatic edits to the Markdown source (such as for #15), we need to know that the source hasn't changed since the HTML was generated.

We should generate a hash of the Markdown source and store it in the `post_content`. This will allow us to test whether the hash matches, and hence whether the Markdown source is authoritative. We can then offer editing with confidence, or warn the user if it has been edited elsewhere.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.