Homec4science

Increase Markdown flavor of Remarkup

Authored by epriestley <git@epriestley.com> on Dec 1 2011, 18:24.

Description

Increase Markdown flavor of Remarkup

Summary:
See https://github.com/facebook/phabricator/issues/82 and D1125. This makes
several minor changes to Remarkup:

  • Adds a "`" syntax for code blocks. This comes from GitHub-flavored

Markdown rather than real Markdown, but is highly reasonable for web inputs
since there's no block indent. I always copy-paste into TextMate and use
Command-], but this is cumbersome in other editors and in general. The indent
syntax is still supported, as this is prettier and more convenient in some other
contexts (writing documentation, for instance).

  • Adds forward-binding for code blocks to support ` syntax and lay the final

edge case from D1125 to rest.

  • Adds "*" support for lists, similar to Markdown.
  • Drops the requirement that lists be indented. I believe this was an artifact

of a very old, less-powerful parser.

I'll follow up with a doc update, too.

Test Plan: Ran unit tests.

Reviewers: btrahan, broofa, fugalh, jungejason, nh, aran

Reviewed By: btrahan

CC: aran, btrahan

Differential Revision: 1148

Details

Committed
epriestley <git@epriestley.com>Dec 1 2011, 19:14
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU2be26c5e6f77: Preserve trailing whitespace in Remarkup
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU29771d50d41d: Increase Markdown flavor of Remarkup (authored by epriestley <git@epriestley.com>).Dec 1 2011, 19:14