Estevao Soares dos Santos
66bdd21312
fix(tables): trailing spaces no longer prevent table parsing
...
If there were a trailing space following the closing | of a single column
table, the table does not get rendered. This fixes the issue.
Closes #442
2017-10-06 12:52:20 +01:00
Estevao Soares dos Santos
d88b095f05
fix(tables): tables are properly rendered when followed by a single linebreak and a list
...
Closes #443
2017-10-06 12:38:01 +01:00
Estevao Soares dos Santos
fef110cccb
Fix(tables): allow for one column table
...
Closes #406
2017-08-05 03:34:49 +01:00
Estevao Soares dos Santos
51e46933a4
fix(tablesHeaderId): fix missmatch of option name
...
In code, the option appeared both as 'tableHeaderId' and 'tablesHeaderId',
although only the first form had effect. In documentation was referenced
as 'tablesHeaderId'.
Option is now fixed in code to reflex the documentation and table parser
accepts both forms, with and without an s.
Closes #412
2017-08-04 20:19:15 +01:00
Estevao Soares dos Santos
1ebc1959dd
fix(tables): pipe char can now be escaped
...
Pipe character is now treated as a special markdown char,
which makes it possible to escape it.
Closes #345
2017-02-21 14:13:12 +00:00
greenkeeper[bot]
b5e46fdb8d
Update dependencies to enable Greenkeeper 🌴 ( #335 )
...
adapt code to updated dependencies
2017-01-31 05:46:25 +00:00
Estevao Soares dos Santos
10fb1cf451
refactor: use ¨ instead of ~ as escape character
2017-01-29 00:07:19 +00:00
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