Page MenuHomePhabricator

Send Markdown in Diffusion through SourceSans
ClosedPublic

Authored by chad on Apr 8 2015, 3:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 11:43 AM
Unknown Object (File)
Thu, Apr 11, 8:29 AM
Unknown Object (File)
Mon, Apr 8, 6:30 AM
Unknown Object (File)
Mon, Apr 8, 6:30 AM
Unknown Object (File)
Mon, Apr 8, 6:20 AM
Unknown Object (File)
Fri, Apr 5, 3:56 AM
Unknown Object (File)
Wed, Apr 3, 10:16 PM
Unknown Object (File)
Wed, Apr 3, 7:10 PM
Subscribers

Details

Summary

This moves Markdown rendering from normal fonts to PHUIDocumentView with Source Sans improving readability of this longer form text.

Test Plan

Test libphutil and Phabricator readmes in my sandbox.

pasted_file (667×889 px, 202 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad retitled this revision from to Send Markdown in Diffusion through SourceSans.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added reviewers: epriestley, btrahan.
chad added inline comments.
src/applications/diffusion/view/DiffusionReadmeView.php
93

this return felt a little hinky.

Can we just always use PHUIDocumentView + SourceSans? Does "README.rainbow" get dramatically worse somehow?

I had no idea what rainbow is/does. if you think it'd work fine I'll update.

src/applications/diffusion/view/DiffusionReadmeView.php
61

You can just add "$interpreter = 'rainbow';" above this line to see it as rainbow.

chad marked an inline comment as done.Apr 8 2015, 4:27 PM
chad edited edge metadata.
  • Update, with CSS for mobile/tablet
epriestley edited edge metadata.
This revision is now accepted and ready to land.Apr 8 2015, 4:41 PM
This revision was automatically updated to reflect the committed changes.