add include-excerpt feature to 'goal markdown'

Review Request #949 - Created Aug. 27, 2014 and submitted

Information
Larry Hosken
pants
f4ed0cd...
Reviewers
pants-reviews

Extend markdown syntax so that page authors can "include" a snippet from a real source file. Inspired by the way the Pants docs use Spinx's literalinclude http://sphinx-doc.org/markup/code.html#directive-literalinclude .

Added docs for it in src/python/pants/docs/page.rst

Exercise it in examples/src/java/com/pants/examples/hello/main/README.md

Added test_markdown_to_html.py with a bunch of tests for the "excerpt a few lines" functionality, which has corner cases.

https://travis-ci.org/pantsbuild/pants/builds/33925158

Issues

  • 0
  • 2
  • 0
  • 2
Description From Last Updated
David Turner
David Turner
John Sirois
Larry Hosken
David Turner
John Sirois
Larry Hosken
John Sirois
Larry Hosken
Larry Hosken
Review request changed

Status: Closed (submitted)

Loading...