Commit graph

261 commits

Author SHA1 Message Date
Devin Torres
007453cfd9 Install tidy before running tests 2013-09-20 19:50:05 -05:00
Devin Torres
8e679dad32 No need to wrap it in quotes 2013-09-20 19:41:47 -05:00
Devin Torres
5a50f2364e Add .travis.yml 2013-09-20 19:33:10 -05:00
Devin Torres
e45a1d44cc Add .editorconfig 2013-09-20 19:08:28 -05:00
Devin Torres
f7721a652e Optimizations from Houdini 2013-09-20 19:07:46 -05:00
Devin Torres
0222619aa2 Fix Windows Makefile 2013-09-20 01:16:45 -05:00
Devin Torres
189b325f19 Begin code reorganization 2013-09-20 01:14:14 -05:00
Xavier Mendez
2a45591384 Change README 2013-09-20 01:14:14 -05:00
Devin Torres
d5675487a5 find_block_tag: Use faster switch statement over an array lookup 2013-09-20 00:02:43 -05:00
Rick Bradley
67bbf3220e ':' is now considered a trailing punctuation 2013-09-19 17:37:57 -05:00
Anatol Broder
78d6c63d68 Option to replace quotation marks with <q> 2013-09-19 17:00:00 -05:00
Yukinari Toyota
48bba3aca1 Set SD_AUTOLINK_SHORT_DOMAINS flag always on 2013-09-19 16:09:53 -05:00
Robin Dupret
38544aa3ec Allow to set a maximum rendering level for HTML_TOC
Allow the user to pass a `max_level` option when instantiating a new
HTML_TOC render object in order to limit the nesting level in the
generated table of content.
2013-09-19 16:04:59 -05:00
Sami A
abf9198169 Output <hr/> for footnotes when using XHTML renderer 2013-09-19 15:57:03 -05:00
Sami A
71af174519 Fix footnote parsing
Consecutive footnotes do not need to be surrounded by blank lines,
courtesy of @microjo. For example, this is now possible:

[^1]: footnote1
[^2]: footnote2
2013-09-19 15:27:31 -05:00
Robin Dupret
d3aaea3300 Make emphasis wrapped inside parenthesis parsed
Previously, when an emphasis was put inside parenthesis, the option
no_intra_emphasis return it as is. This commit fixes this issue. It
is a redundant issue in tutorials or in readme files.
2013-09-19 15:15:55 -05:00
Robin Dupret
08bc43b657 Fix FTP uris identified as emails
Ensure FTP uris are correctly parsed and not considered as an email
address.
2013-09-19 15:12:41 -05:00
Sam Soffes
0bb213e183 Optional highlight support 2013-09-19 15:10:24 -05:00
Matt Rogers
2e9301b116 Ensure nested parenthesis are handled into links
Make sure that parenthesis inside the link's url are correctly parsed
Redcarpet considered the first ")" occurrence as the link's end so we
first count the number of open "(" and decrement this number each
time we found a ")".
2013-09-19 14:57:30 -05:00
Matt Rogers
7f7d90ded1 Ensure code spans put in emphasis work correctly
When putting code span into simple or double emphasis, we've got an
unexpected output. This commit fix this problem simply removing an
ignore statement about back ticks in the find_emph_char function
2013-09-19 14:52:57 -05:00
Sam Soffes
2bc4d16695 Add optional underline support
This is `*italic*` and this is `_underline_` when enabled.
2013-09-19 12:32:30 -05:00
Joel Rosenberg
bb3a9d92c3 Adding a prettyprint class for google-code-prettify 2013-09-19 11:47:49 -05:00
Dmitriy Kiriyenko
d32be1c697 Add option to ignore usual indented code blocks
Markdown converts text with four spaces at the front of each line to
code blocks. Of course we should support that, but when using fenced
code blocks, indented one can even be harmful. There should be a way to
turn them off.

This patch adds option to disable indented code blocks.
2013-09-19 11:37:20 -05:00
Matt Rogers
9d39c07cb4 Remove unused C macros 2013-09-19 11:25:36 -05:00
Ryan McGeary
89c73d27bf Added support for org-table syntax
This just adds support for using a plus (+) as an intersection character
instead of requiring pipes (|). The emacs org-mode table syntax
automatically manages ascii tables, but uses pluses for line
intersections.
2013-09-19 11:09:14 -05:00
Mike Morearty
8d30051774 Fix SmartyPants handling of single quotes 2013-09-19 11:04:33 -05:00
Balazs Nagy
92c9d20b0a Align td and th with css instead of align property
When you align tables with css, <td align="..."> gets overridden.
Using inline styles keeps alignment no matter what CSS contains.
2013-09-18 17:57:52 -05:00
Ben Dolman
0f1b2a017f Add MultiMarkdown footnotes extension 2013-09-18 17:22:09 -05:00
Devin Torres
5c4d75bccb Use the system specified CC by default 2013-09-18 16:37:06 -05:00
Devin Torres
f9227bba79 Import the official Markdown 1.0.3 test suite 2013-09-18 16:36:04 -05:00
Mike Buland
febd3269a3 Removed useless -Wl from .so linking command. 2013-09-18 13:13:11 -05:00
Devin Torres
aa43a77283 Revert "Let the world know that Sundown is deprecated"
This reverts commit 37728fb2d7.
2013-09-18 13:09:50 -05:00
Vicent Martí
37728fb2d7 Let the world know that Sundown is deprecated 2012-11-29 04:59:48 -08:00
Vicent Marti
fc97fc37de Always verify the end of a domain 2012-10-22 17:34:12 +02:00
Vicent Marti
bc68d59041 Gah. Stupid typo. 2012-10-19 18:13:51 +02:00
Vicent Marti
0e7d0cc653 Better NO_INTRA_EMPHASIS logic 2012-10-11 13:25:03 +02:00
Vicent Marti
2bb12820b1 Better name for the offset args 2012-10-10 15:41:21 +02:00
Vicent Martí
b6b58da3ff Hey I'm @vmg 2012-08-02 02:27:07 +03:00
Vicent Marti
11d2add5b4 Bring back changes from Rinku 2012-07-08 14:42:26 +02:00
Vicent Martí
c744346e50 Merge pull request #110 from ckolumbus/ckol-bugfix
BUG FIX: va_list handling for visual studio fixed
2012-05-02 14:44:22 -07:00
Chris
940612e6cb BUG FIX: va_list handling for visual studio fixed 2012-05-02 21:22:50 +02:00
Vicent Martí
e0f0d88bc3 Fix segfault when parsing syntax 2012-04-22 15:02:45 -07:00
Vicent Martí
3027e7ab3f Fix infinite loop when parsing strikethroughs 2012-04-13 01:30:48 +02:00
Vicent Martí
5c64c8ba7c Properly identify opening code fences 2012-04-12 18:08:37 +02:00
Vicent Martí
eddaf2b87d Oops 2012-04-12 16:41:33 +02:00
Vicent Martí
634f45badd Bump version number 2012-04-12 16:31:44 +02:00
Vicent Martí
2607a45c03 Fix the extensions enum 2012-04-12 15:33:28 +02:00
Vicent Martí
38261808f9 Add MKDEXT_LAX_SPACING extension 2012-04-12 06:27:42 +02:00
Vicent Martí
0e1cb2b157 Improve parsing of continuous list items
- Code blocks nested inside of lists won't be checked
for line starts

- The minimal indentation to continue a multi-paragraph list
has been reduced to 1 space, instead of 4. This is not what the standard
says, but what the Markdown.PL does.
2012-04-12 05:34:51 +02:00
Vicent Martí
bd06011358 Merge pull request #108 from txdv/windows
Add nmake build target for windows.
2012-04-11 14:43:20 -07:00