Page MenuHomePhabricator

Send Markdown in Diffusion through SourceSans
ClosedPublic

Authored by chad on Apr 8 2015, 3:36 PM.
Tags
None
Referenced Files
F14012254: D12330.id29619.diff
Fri, Nov 1, 9:52 AM
F14012218: D12330.id29617.diff
Fri, Nov 1, 9:07 AM
F14011482: D12330.diff
Fri, Nov 1, 2:12 AM
F14009502: D12330.diff
Wed, Oct 30, 7:07 PM
F14009461: D12330.id29617.diff
Wed, Oct 30, 6:05 PM
F14009043: D12330.id29619.diff
Wed, Oct 30, 8:48 AM
F14008239: D12330.diff
Tue, Oct 29, 6:19 PM
F14003717: D12330.diff
Sat, Oct 26, 9:45 AM
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.