Upgrade discount to the latest stable. This includes bug fixes
for clang. So remove the patch. Tested with clang and llvm from
XCode-4.4.1.
FixesHomebrew/homebrew#14011ClosesHomebrew/homebrew#14100.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
From the discount's homepage: "a small collection of patches, bugfixes, and
performance enhancements"
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2.0.7 completes support for definition lists in PHP mardown extra style.
There are also a few small cleanups and an extension of the footnotes.
Also:
Build discount with both types of definition list
Discount now supports two types of definition lists: its own and one
from PHP markdown extra. However, to enable them, we need to change
the configuration options.
See the homepage for details on the two types of definition lists:
http://www.pell.portland.or.us/~orc/Code/discount/#dl
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
From [discount's website][1.6.6]:
* version 1.6.6 repairs two defects, one in the markdown compiler and one in
`theme`:
1. In `theme`, I needed to take into account the source filename
might not have an extension when I'm making the `.html` filename.
The old behavior was to look for a dot and put the `.html` after
that, but _I didn't check to see if there was actually a dot there_
before appending the `.html`!
This did not work out too well if there was no dot.
2. In the markdown parser, I wasn't handling escapes of the
open square bracket inside a `[]()` construct.
So a link like
[foo\[and\]bar](does not work properly!)
would not parse because
my square bracket matcher would look for an additional `]`
to match the `\[` inside the `[]` part.
[1.6.6]: http://www.pell.portland.or.us/~orc/Code/discount/#1.6.6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
1. Update discount to 1.6.4
2. Add configuration options for full range of extras (pandoc-style
headers, relaxed emphasis, support for divs and alpha lists and for
superscript)
Signed-off-by: Adam Vandenberg <flangy@gmail.com>