Page MenuHomePhabricator

Send Markdown in Diffusion through SourceSans
ClosedPublic

Authored by chad on Apr 8 2015, 3:36 PM.
Tags
None
Referenced Files
F14314127: D12330.id29620.diff
Wed, Dec 18, 4:55 AM
Unknown Object (File)
Mon, Dec 16, 4:04 PM
Unknown Object (File)
Fri, Dec 13, 1:25 AM
Unknown Object (File)
Thu, Dec 5, 10:54 PM
Unknown Object (File)
Sat, Nov 30, 9:28 AM
Unknown Object (File)
Fri, Nov 29, 12:51 PM
Unknown Object (File)
Tue, Nov 26, 12:49 PM
Unknown Object (File)
Tue, Nov 19, 12:33 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.