Estevao Soares dos Santos
b7e7560f87
fix: make some regexes a bit faster and make tab char equivalent to 4 spaces
2016-08-30 06:24:19 +01:00
Butch Marshall
682bbbeca4
Fixed IE8 regex compatability
2016-06-27 15:43:51 +00:00
Estevão Soares dos Santos
ddaacfc41a
fix(tables): fix table heading separators requiring 3 dashes instead of 2
...
Closes #256
2016-05-17 21:27:40 +01:00
Estevão Soares dos Santos
e0726a6e42
feature(evt_listeners): make globals var accessible to listeners
2016-03-20 17:08:44 +00:00
Estevão Soares dos Santos
6e5073d977
chore: remove html beautify from tests
2016-02-02 00:29:06 +00:00
Estevão Soares dos Santos
f58f014bc3
fix(tables): fix tables to match github's md spec
...
Now Leading and trailing pipes (|) are optional in tables
Closes #230
2016-01-25 05:24:54 +00:00
Estevão Soares dos Santos
2734326e19
feat(eventDispatcher): add an event dispatcher to converter
2015-08-03 03:47:49 +01:00
Estevão Soares dos Santos
789dc1806a
feat(subParser/tables.js): add support for md span elements in table headers
...
+ tests
Closes #179
2015-07-22 18:21:20 +01:00
Estevão Soares dos Santos
6176977558
fix(subParser/tables): fix undefined error in malformed tables
...
Cannot read property 'trim' of undefined happens when the parser is fed a malformed table.
This happens in live previews (for instance, when using Angularjs).
2015-07-14 00:37:53 +01:00
Estevão Soares dos Santos
1c8c928d0a
feat(subParsers/table): support for table alignment
...
Credits to [torcellite (Karthik Balakrishnan)](https://github.com/torcellite )
2015-07-11 18:21:43 +01:00
Estevão Soares dos Santos
3a924e3c7e
feat(tables): add support for GFM tables
...
Github Flavored Markdown supports a specific table syntax. Table support was already available as an extension.
With this commit, the feature was moved to core, adding this feature to showdown through an option called "tables".
Related to #164
2015-07-11 16:44:24 +01:00