kramdown 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of kramdown might be problematic. Click here for more details.

Files changed (93) hide show
  1. data/CONTRIBUTERS +4 -0
  2. data/ChangeLog +671 -0
  3. data/README +10 -0
  4. data/Rakefile +40 -23
  5. data/VERSION +1 -1
  6. data/data/kramdown/document.html +1 -1
  7. data/data/kramdown/document.latex +10 -5
  8. data/doc/default.less.css +52 -10
  9. data/doc/default.template +4 -0
  10. data/doc/documentation.page +72 -0
  11. data/doc/index.page +8 -41
  12. data/doc/installation.page +6 -6
  13. data/doc/links.markdown +2 -0
  14. data/doc/quickref.page +6 -2
  15. data/doc/syntax.page +8 -7
  16. data/doc/tests.page +1 -2
  17. data/lib/kramdown.rb +1 -1
  18. data/lib/kramdown/compatibility.rb +1 -1
  19. data/lib/kramdown/converter.rb +8 -3
  20. data/lib/kramdown/converter/base.rb +27 -5
  21. data/lib/kramdown/converter/html.rb +26 -28
  22. data/lib/kramdown/converter/latex.rb +29 -15
  23. data/lib/kramdown/document.rb +15 -8
  24. data/lib/kramdown/error.rb +1 -1
  25. data/lib/kramdown/options.rb +21 -13
  26. data/lib/kramdown/parser.rb +9 -3
  27. data/lib/kramdown/parser/base.rb +95 -0
  28. data/lib/kramdown/parser/html.rb +387 -0
  29. data/lib/kramdown/parser/kramdown.rb +11 -56
  30. data/lib/kramdown/parser/kramdown/attribute_list.rb +1 -1
  31. data/lib/kramdown/parser/kramdown/autolink.rb +1 -1
  32. data/lib/kramdown/parser/kramdown/blank_line.rb +1 -1
  33. data/lib/kramdown/parser/kramdown/blockquote.rb +1 -1
  34. data/lib/kramdown/parser/kramdown/codeblock.rb +1 -1
  35. data/lib/kramdown/parser/kramdown/codespan.rb +1 -1
  36. data/lib/kramdown/parser/kramdown/emphasis.rb +1 -1
  37. data/lib/kramdown/parser/kramdown/eob.rb +1 -1
  38. data/lib/kramdown/parser/kramdown/escaped_chars.rb +1 -1
  39. data/lib/kramdown/parser/kramdown/extension.rb +2 -90
  40. data/lib/kramdown/parser/kramdown/footnote.rb +1 -1
  41. data/lib/kramdown/parser/kramdown/header.rb +1 -1
  42. data/lib/kramdown/parser/kramdown/horizontal_rule.rb +1 -1
  43. data/lib/kramdown/parser/kramdown/html.rb +69 -149
  44. data/lib/kramdown/parser/kramdown/html_entity.rb +4 -4
  45. data/lib/kramdown/parser/kramdown/line_break.rb +1 -1
  46. data/lib/kramdown/parser/kramdown/link.rb +2 -2
  47. data/lib/kramdown/parser/kramdown/list.rb +2 -6
  48. data/lib/kramdown/parser/kramdown/math.rb +3 -3
  49. data/lib/kramdown/parser/kramdown/paragraph.rb +1 -1
  50. data/lib/kramdown/parser/kramdown/smart_quotes.rb +3 -2
  51. data/lib/kramdown/parser/kramdown/table.rb +3 -2
  52. data/lib/kramdown/parser/kramdown/typographic_symbol.rb +7 -3
  53. data/lib/kramdown/version.rb +2 -2
  54. data/man/man1/kramdown.1 +19 -0
  55. data/test/run_tests.rb +1 -0
  56. data/test/test_files.rb +68 -7
  57. data/test/testcases/block/09_html/comment.html +5 -0
  58. data/test/testcases/block/09_html/comment.text +3 -0
  59. data/test/testcases/block/09_html/content_model/tables.html +2 -2
  60. data/test/testcases/block/09_html/html_to_native/code.html +10 -0
  61. data/test/testcases/block/09_html/html_to_native/code.text +9 -0
  62. data/test/testcases/block/09_html/html_to_native/comment.html +7 -0
  63. data/test/testcases/block/09_html/html_to_native/comment.text +8 -0
  64. data/test/testcases/block/09_html/html_to_native/emphasis.html +1 -0
  65. data/test/testcases/block/09_html/html_to_native/emphasis.text +1 -0
  66. data/test/testcases/block/09_html/html_to_native/entity.html +1 -0
  67. data/test/testcases/block/09_html/html_to_native/entity.text +1 -0
  68. data/test/testcases/block/09_html/html_to_native/header.html +6 -0
  69. data/test/testcases/block/09_html/html_to_native/header.options +2 -0
  70. data/test/testcases/block/09_html/html_to_native/header.text +6 -0
  71. data/test/testcases/block/09_html/html_to_native/list_dl.html +8 -0
  72. data/test/testcases/block/09_html/html_to_native/list_dl.text +8 -0
  73. data/test/testcases/block/09_html/html_to_native/list_ol.html +15 -0
  74. data/test/testcases/block/09_html/html_to_native/list_ol.text +17 -0
  75. data/test/testcases/block/09_html/html_to_native/list_ul.html +19 -0
  76. data/test/testcases/block/09_html/html_to_native/list_ul.text +22 -0
  77. data/test/testcases/block/09_html/html_to_native/options +1 -0
  78. data/test/testcases/block/09_html/html_to_native/paragraph.html +3 -0
  79. data/test/testcases/block/09_html/html_to_native/paragraph.text +4 -0
  80. data/test/testcases/block/09_html/html_to_native/table_normal.html +13 -0
  81. data/test/testcases/block/09_html/html_to_native/table_normal.text +12 -0
  82. data/test/testcases/block/09_html/html_to_native/table_simple.html +10 -0
  83. data/test/testcases/block/09_html/html_to_native/table_simple.text +14 -0
  84. data/test/testcases/block/09_html/html_to_native/typography.html +1 -0
  85. data/test/testcases/block/09_html/html_to_native/typography.text +1 -0
  86. data/test/testcases/block/09_html/parse_as_raw.html +3 -5
  87. data/test/testcases/block/09_html/parse_as_raw.text +0 -1
  88. data/test/testcases/span/04_footnote/definitions.latex +18 -0
  89. data/test/testcases/span/04_footnote/footnote_nr.latex +6 -0
  90. data/test/testcases/span/04_footnote/markers.latex +32 -0
  91. data/test/testcases/span/05_html/invalid.html +1 -0
  92. data/test/testcases/span/05_html/invalid.text +1 -0
  93. metadata +52 -5
@@ -0,0 +1,4 @@
1
+ Count Name
2
+ ======= ====
3
+ 297 Thomas Leitner <t_leitner@gmx.at>
4
+ 3 Ben Armston <ben.armston@googlemail.com>
data/ChangeLog CHANGED
@@ -1,3 +1,674 @@
1
+ commit 824d854f2aa176664528d51e7ec98d91d7944b39
2
+ Author: Thomas Leitner <t_leitner@gmx.at>
3
+ Date: Tue Jun 8 15:45:02 2010 +0200
4
+
5
+ Fixed type in Rakefile
6
+
7
+ Rakefile
8
+
9
+ commit 54d5a8ebf100d4a810d48445f76f409fe6755831
10
+ Author: Thomas Leitner <t_leitner@gmx.at>
11
+ Date: Tue Jun 8 15:42:09 2010 +0200
12
+
13
+ Fixed Kernel.warn output in document.latex template
14
+
15
+ data/kramdown/document.latex
16
+
17
+ commit b69e946ad3bbd4e4b010968cb6a42eb49d06f337
18
+ Author: Thomas Leitner <t_leitner@gmx.at>
19
+ Date: Tue Jun 8 15:37:08 2010 +0200
20
+
21
+ Fixed LaTeX conversion test to always have an assert statement
22
+
23
+ test/test_files.rb
24
+
25
+ commit d2f817b24c50c7f9cb9c941a9b8c154cb291e4fa
26
+ Author: Thomas Leitner <t_leitner@gmx.at>
27
+ Date: Tue Jun 8 15:30:16 2010 +0200
28
+
29
+ Updated documentation
30
+
31
+ doc/documentation.page
32
+ doc/index.page
33
+ doc/links.markdown
34
+ doc/news/release_0_8_0.page
35
+ doc/parser/html.page
36
+ doc/parser/kramdown.page
37
+ doc/tests.page
38
+
39
+ commit ec1c9ad74873e06f786837708ef5361d7714328f
40
+ Author: Thomas Leitner <t_leitner@gmx.at>
41
+ Date: Tue Jun 8 11:55:43 2010 +0200
42
+
43
+ Deprecated filter_html option
44
+
45
+ There exists better facilities for performinig this kind of task.
46
+
47
+ doc/news/release_0_8_0.page
48
+ lib/kramdown/converter/html.rb
49
+ lib/kramdown/options.rb
50
+
51
+ commit d7dda4bd0aec08414feb24ce9983f0ccff34dde1
52
+ Author: Thomas Leitner <t_leitner@gmx.at>
53
+ Date: Tue Jun 8 11:13:27 2010 +0200
54
+
55
+ Converting <i> and <b> html elements in LaTeX converter
56
+
57
+ lib/kramdown/converter/latex.rb
58
+
59
+ commit 1d48a55b26040a777d2ac29cf906e17ac92ce0ed
60
+ Author: Thomas Leitner <t_leitner@gmx.at>
61
+ Date: Tue Jun 8 10:35:47 2010 +0200
62
+
63
+ Fixed problem with image links in LaTeX converter
64
+
65
+ Not outputting image links with empty source URL anymore
66
+
67
+ lib/kramdown/converter/latex.rb
68
+
69
+ commit 6bbff48b73abdbfa27d08c0b269850edaaccedcf
70
+ Author: Thomas Leitner <t_leitner@gmx.at>
71
+ Date: Mon Jun 7 19:07:24 2010 +0200
72
+
73
+ Merged element :text and :raw_text element types
74
+
75
+ The element type :raw_text may not appear in the element tree after
76
+ parsing is done, only :text elements are supported by the converters.
77
+ The kramdown parser still uses :raw_text elements internally - these
78
+ elements are the ones that get parsed with the span level parser.
79
+
80
+ lib/kramdown/converter/html.rb
81
+ lib/kramdown/converter/latex.rb
82
+ lib/kramdown/parser/html.rb
83
+ lib/kramdown/parser/kramdown.rb
84
+ lib/kramdown/parser/kramdown/html.rb
85
+ lib/kramdown/parser/kramdown/list.rb
86
+ lib/kramdown/parser/kramdown/table.rb
87
+
88
+ commit cb51bf3f60e492f7c6467eaced4520e35bb33489
89
+ Author: Thomas Leitner <t_leitner@gmx.at>
90
+ Date: Mon Jun 7 15:20:59 2010 +0200
91
+
92
+ Updated README with information regarding kramdown development
93
+
94
+ README
95
+
96
+ commit 99ba359b97924b0a2527b8a255fb68d9ae049218
97
+ Author: Thomas Leitner <t_leitner@gmx.at>
98
+ Date: Mon Jun 7 08:28:20 2010 +0200
99
+
100
+ Added latex compilation tests
101
+
102
+ Each .text testcase is now additionally converted to LaTeX with the
103
+ default template and then processed by the latex executable to find
104
+ compilation errors.
105
+
106
+ test/test_files.rb
107
+
108
+ commit 7ec5a1ce19a6de7732e2666836b81c8d452a725a
109
+ Author: Thomas Leitner <t_leitner@gmx.at>
110
+ Date: Mon Jun 7 08:27:03 2010 +0200
111
+
112
+ Fixed copy-paste error in LaTeX converter
113
+
114
+ lib/kramdown/converter/latex.rb
115
+
116
+ commit 22fcb3a34f831c1366022ade40e805a59dd905e3
117
+ Author: Thomas Leitner <t_leitner@gmx.at>
118
+ Date: Mon Jun 7 08:26:30 2010 +0200
119
+
120
+ Changed binding when evaluating template after conversion
121
+
122
+ Now creating a new object that is used as binding object. This avoids
123
+ cluttering the global namespace. Now one needs to use instance variables
124
+ instead of locals, i.e. @doc/@body instead of doc/body.
125
+
126
+ data/kramdown/document.html
127
+ data/kramdown/document.latex
128
+ lib/kramdown/converter/base.rb
129
+
130
+ commit 15a692c6db428c1c48ced1eb460ce0fc3c8428f2
131
+ Author: Thomas Leitner <t_leitner@gmx.at>
132
+ Date: Fri Jun 4 20:32:40 2010 +0200
133
+
134
+ Fixed HTML converter problem
135
+
136
+ lib/kramdown/converter/html.rb
137
+
138
+ commit b1ccf1616053ceeb00ede70ff81014ac1e6c054b
139
+ Author: Thomas Leitner <t_leitner@gmx.at>
140
+ Date: Fri Jun 4 20:29:29 2010 +0200
141
+
142
+ Fixed bug in html-to-native processing of xml comments/PIs and html doctypes
143
+
144
+ lib/kramdown/parser/html.rb
145
+
146
+ commit eb5e1cf55486470ebbf3ac61148ecf1f52332eba
147
+ Author: Thomas Leitner <t_leitner@gmx.at>
148
+ Date: Fri Jun 4 20:27:10 2010 +0200
149
+
150
+ Added html-to-html conversion tests
151
+
152
+ test/test_files.rb
153
+
154
+ commit 6b55fd5b2cdd4a6e7a9159f9cb8677bbdafd6306
155
+ Author: Thomas Leitner <t_leitner@gmx.at>
156
+ Date: Fri Jun 4 19:34:28 2010 +0200
157
+
158
+ Fixed parsing of HTML script tags
159
+
160
+ lib/kramdown/parser/html.rb
161
+ test/testcases/block/09_html/parse_as_raw.html
162
+ test/testcases/block/09_html/parse_as_raw.text
163
+
164
+ commit 6e91ba34c2aae401b08efa2e5d63a85fb1bf3451
165
+ Author: Thomas Leitner <t_leitner@gmx.at>
166
+ Date: Fri Jun 4 18:10:31 2010 +0200
167
+
168
+ Fixed a warning on Ruby 1.8.7
169
+
170
+ lib/kramdown/parser/html.rb
171
+
172
+ commit 13f3bf1986f9b125dc2b821c351a4324f72eb976
173
+ Author: Thomas Leitner <t_leitner@gmx.at>
174
+ Date: Fri Jun 4 11:18:44 2010 +0200
175
+
176
+ Fixed HTML-to-native conversion of not-simple tables
177
+
178
+ lib/kramdown/parser/html.rb
179
+ test/testcases/block/09_html/html_to_native/table.html
180
+ test/testcases/block/09_html/html_to_native/table.text
181
+ test/testcases/block/09_html/html_to_native/table_normal.html
182
+ test/testcases/block/09_html/html_to_native/table_normal.text
183
+ test/testcases/block/09_html/html_to_native/table_simple.html
184
+ test/testcases/block/09_html/html_to_native/table_simple.text
185
+
186
+ commit 4e314534abcaf11816c10a03b607ce0d2c1300f3
187
+ Author: Thomas Leitner <t_leitner@gmx.at>
188
+ Date: Fri Jun 4 10:43:44 2010 +0200
189
+
190
+ Added conversion of xml comments to LaTeX comments
191
+
192
+ lib/kramdown/converter/latex.rb
193
+
194
+ commit 3a9041f03862be83c78aa6ac8eacbb096760df7e
195
+ Author: Thomas Leitner <t_leitner@gmx.at>
196
+ Date: Fri Jun 4 10:28:16 2010 +0200
197
+
198
+ Many HTML parsing related changes
199
+
200
+ * Created standalone HTML parser, using the implementation of the
201
+ kramdown HTML parser. The kramdown HTML parser is now based on the
202
+ standalone version
203
+ * Added support for parsing an HTML doctype and for converting it
204
+ * HTML-to-native support is now encapsulated in own class and enhanced
205
+ to work better/across more HTML tags
206
+
207
+ lib/kramdown/converter/html.rb
208
+ lib/kramdown/converter/latex.rb
209
+ lib/kramdown/parser.rb
210
+ lib/kramdown/parser/html.rb
211
+ lib/kramdown/parser/kramdown/html.rb
212
+ lib/kramdown/parser/kramdown/html_entity.rb
213
+ test/testcases/block/09_html/html_to_native/comment.html
214
+ test/testcases/block/09_html/html_to_native/paragraph.html
215
+ test/testcases/block/09_html/html_to_native/paragraph.text
216
+
217
+ commit 5ce9de5b0d3ab0438375895463d6341374185c81
218
+ Author: Thomas Leitner <t_leitner@gmx.at>
219
+ Date: Fri Jun 4 10:20:43 2010 +0200
220
+
221
+ Fixed standalone test runner to load directory options file
222
+
223
+ test/run_tests.rb
224
+
225
+ commit e094110f79c52f5950e855bb85b3624b8df315fd
226
+ Author: Thomas Leitner <t_leitner@gmx.at>
227
+ Date: Fri Jun 4 10:20:05 2010 +0200
228
+
229
+ Added base class for parsers
230
+
231
+ lib/kramdown/parser.rb
232
+ lib/kramdown/parser/base.rb
233
+ lib/kramdown/parser/kramdown.rb
234
+ lib/kramdown/parser/kramdown/link.rb
235
+
236
+ commit e1be06b37b680248bd276407ae4c2dcbad702b1b
237
+ Author: Thomas Leitner <t_leitner@gmx.at>
238
+ Date: Fri Jun 4 10:17:52 2010 +0200
239
+
240
+ Fixed spelling error
241
+
242
+ lib/kramdown/converter/base.rb
243
+
244
+ commit 47eef4efb25f8f0f046d3b39aadd5f661b9797ee
245
+ Author: Thomas Leitner <t_leitner@gmx.at>
246
+ Date: Fri Jun 4 09:27:45 2010 +0200
247
+
248
+ Changed content model of th from block to span (in conformance to HTML5 spec)
249
+
250
+ doc/syntax.page
251
+ test/testcases/block/09_html/content_model/tables.html
252
+
253
+ commit 482de59507d569dc7668e9334a3a82ab44f439e0
254
+ Author: Thomas Leitner <t_leitner@gmx.at>
255
+ Date: Tue Jun 1 20:43:47 2010 +0200
256
+
257
+ Completed list of HTML elements that have no body
258
+
259
+ lib/kramdown/parser/kramdown/html.rb
260
+
261
+ commit 2330fe56b311ce0fa607897461d95cf12d6ca54e
262
+ Author: Thomas Leitner <t_leitner@gmx.at>
263
+ Date: Mon May 31 16:43:27 2010 +0200
264
+
265
+ Better whitespace handling when using html_to_native
266
+
267
+ * :raw_text elements containing only whitespace and appearing between
268
+ block elements are converted to :blank elements
269
+ * one or more whitespace characters are compressed to a single space
270
+ * leading/trailing whitespace in block HTML elements is removed
271
+
272
+ lib/kramdown/parser/kramdown/html.rb
273
+ test/testcases/block/09_html/html_to_native/list_ul.html
274
+ test/testcases/block/09_html/html_to_native/paragraph.html
275
+ test/testcases/block/09_html/html_to_native/paragraph.text
276
+ test/testcases/block/09_html/html_to_native/table.html
277
+
278
+ commit 9d65fb05c9dca26c131047bf502a95fd4bcb9a3c
279
+ Author: Thomas Leitner <t_leitner@gmx.at>
280
+ Date: Mon May 31 16:20:22 2010 +0200
281
+
282
+ Fixed problem with test runner
283
+
284
+ Test assertion files with a file extension that refer to an unknown converter are ignored
285
+
286
+ test/test_files.rb
287
+
288
+ commit 7b0a882e99be1dc986a2c7e15e01b4ddf706726f
289
+ Author: Thomas Leitner <t_leitner@gmx.at>
290
+ Date: Mon May 31 07:41:54 2010 +0200
291
+
292
+ Fixed problems with xml comment/pi parsing
293
+
294
+ * Parsing is now done even if inside a raw HTML tag
295
+ * HTML converter was modified to handle the above case
296
+
297
+ lib/kramdown/converter/html.rb
298
+ lib/kramdown/parser/kramdown/html.rb
299
+ test/testcases/block/09_html/comment.html
300
+ test/testcases/block/09_html/comment.text
301
+ test/testcases/block/09_html/html_to_native/comment.html
302
+ test/testcases/block/09_html/html_to_native/comment.text
303
+
304
+ commit 109ef4e24d9d87c71f02f33dbe3054ff34bb0b1c
305
+ Author: Thomas Leitner <t_leitner@gmx.at>
306
+ Date: Sat May 29 17:24:27 2010 +0200
307
+
308
+ Converted lambdas used for html-to-native functionality to real methods and fixed pre/code conversion
309
+
310
+ lib/kramdown/parser/kramdown/html.rb
311
+ test/testcases/block/09_html/html_to_native/code.html
312
+ test/testcases/block/09_html/html_to_native/code.text
313
+
314
+ commit 858ea7053ac81993a787688e444a71655dd9b989
315
+ Author: Thomas Leitner <t_leitner@gmx.at>
316
+ Date: Fri May 28 15:37:24 2010 +0200
317
+
318
+ Using the fancyvrb package to support code blocks in footnotes when using the LaTeX converter
319
+
320
+ data/kramdown/document.latex
321
+ doc/converter/latex.page
322
+ lib/kramdown/converter/latex.rb
323
+
324
+ commit 9b4f8fd4eac03885bbdfbe1008321e5c33a7045a
325
+ Author: Thomas Leitner <t_leitner@gmx.at>
326
+ Date: Thu May 27 21:26:39 2010 +0200
327
+
328
+ Added rake task for generating CONTRIBUTERS file from git history
329
+
330
+ Rakefile
331
+
332
+ commit 939c1a8790d2cb8b5043c667e4f9f78d9ada07d1
333
+ Author: Ben Armston <ben.armston@googlemail.com>
334
+ Date: Tue May 25 22:25:09 2010 +0100
335
+
336
+ Fix generation of latex footnotes
337
+
338
+ - Passing `opts` removed an `ArgumentError: wrong number of arguments (1
339
+ for 2)`.
340
+ - Adding `[:content]` removed a `NoMethodError: undefined method
341
+ `children' for #<Hash:...>`
342
+
343
+ lib/kramdown/converter/latex.rb
344
+ test/testcases/span/04_footnote/definitions.latex
345
+ test/testcases/span/04_footnote/footnote_nr.latex
346
+ test/testcases/span/04_footnote/markers.latex
347
+
348
+ commit 6ccd690dbf80fc4644c0d060d05008afc82423f7
349
+ Author: Thomas Leitner <t_leitner@gmx.at>
350
+ Date: Thu May 27 21:00:11 2010 +0200
351
+
352
+ Updated test runner to be able to run tests on any conversion format
353
+
354
+ test/test_files.rb
355
+
356
+ commit 5a1eb15335d1d6179a7f7041786f52837686e588
357
+ Author: Ben Armston <ben.armston@googlemail.com>
358
+ Date: Tue May 25 22:20:53 2010 +0100
359
+
360
+ Run latex tests if they exist
361
+
362
+ test/test_files.rb
363
+
364
+ commit 720c2b0aa6a47d9ee12689909aa6b22cf5a32538
365
+ Author: Thomas Leitner <t_leitner@gmx.at>
366
+ Date: Thu May 27 20:41:22 2010 +0200
367
+
368
+ Updated the Rakefile to prohibit releases if not all development deps are installed
369
+
370
+ Rakefile
371
+
372
+ commit a0ddab1e1be5e6fc05112e318e48f328add40d5c
373
+ Author: Ben Armston <ben.armston@googlemail.com>
374
+ Date: Tue May 25 22:10:39 2010 +0100
375
+
376
+ Only define rdoc task if rdoc is installed
377
+
378
+ Rakefile
379
+
380
+ commit a156853b721be10a85f6de661bf05c410613a853
381
+ Author: Thomas Leitner <t_leitner@gmx.at>
382
+ Date: Thu May 27 15:25:46 2010 +0200
383
+
384
+ Better html-to-native processing for li and dd tags
385
+
386
+ doc/parser/kramdown.page
387
+ lib/kramdown/parser/kramdown/html.rb
388
+ test/testcases/block/09_html/html_to_native/list_ol.html
389
+ test/testcases/block/09_html/html_to_native/list_ul.html
390
+
391
+ commit 2b8c1b4e6001bd9bacc2f24941e832eeec846c49
392
+ Author: Thomas Leitner <t_leitner@gmx.at>
393
+ Date: Thu May 27 15:23:48 2010 +0200
394
+
395
+ Added gitignore file
396
+
397
+ .gitignore
398
+
399
+ commit 903f22ee1d367c5771325ea6ef77d975398d1f76
400
+ Author: Thomas Leitner <t_leitner@gmx.at>
401
+ Date: Thu May 27 07:46:28 2010 +0200
402
+
403
+ Modified list handling to use :category key instead of special :first_is_block key
404
+
405
+ lib/kramdown/converter/html.rb
406
+ lib/kramdown/parser/kramdown/list.rb
407
+
408
+ commit 6e9c777e15bd55494281b30a81eb472de75fcd4b
409
+ Author: Thomas Leitner <t_leitner@gmx.at>
410
+ Date: Thu May 27 07:43:08 2010 +0200
411
+
412
+ Formalized how to set the category of an element
413
+
414
+ The category of element (:block or :span) can now be set via the special
415
+ options key :category.
416
+
417
+ lib/kramdown/converter/html.rb
418
+ lib/kramdown/converter/latex.rb
419
+ lib/kramdown/document.rb
420
+ lib/kramdown/parser/kramdown.rb
421
+ lib/kramdown/parser/kramdown/extension.rb
422
+ lib/kramdown/parser/kramdown/html.rb
423
+ lib/kramdown/parser/kramdown/math.rb
424
+
425
+ commit ef6c7683312966b16e7c9b1921e73fa3424797bd
426
+ Author: Thomas Leitner <t_leitner@gmx.at>
427
+ Date: Wed May 26 16:44:07 2010 +0200
428
+
429
+ Better html-to-native processing for ul, ol and dl tags
430
+
431
+ doc/parser/kramdown.page
432
+ lib/kramdown/parser/kramdown/html.rb
433
+ test/testcases/block/09_html/html_to_native/list_dl.html
434
+ test/testcases/block/09_html/html_to_native/list_dl.text
435
+ test/testcases/block/09_html/html_to_native/list_ol.html
436
+ test/testcases/block/09_html/html_to_native/list_ol.text
437
+ test/testcases/block/09_html/html_to_native/list_ul.html
438
+ test/testcases/block/09_html/html_to_native/list_ul.text
439
+
440
+ commit 16c3cd2fd2028fc14bcd3cdba6cf25d84a359941
441
+ Author: Thomas Leitner <t_leitner@gmx.at>
442
+ Date: Wed May 26 16:42:31 2010 +0200
443
+
444
+ Fixed problem with accumulating raw text in HTML parser
445
+
446
+ Needed to add :codeblock and :codespan elements to the list of elements
447
+ from which the raw text may be extracted because they may have been
448
+ processed already.
449
+
450
+ lib/kramdown/parser/kramdown/html.rb
451
+ test/testcases/block/09_html/html_to_native/code.html
452
+ test/testcases/block/09_html/html_to_native/code.text
453
+
454
+ commit dfa48c97a2b7964fedc400299c1d7b18c16939a3
455
+ Author: Thomas Leitner <t_leitner@gmx.at>
456
+ Date: Sun May 23 06:15:30 2010 +0200
457
+
458
+ Added the ability to convert HTML tags to native elements
459
+
460
+ This is directly implemented in the HTML parser and controlled with the
461
+ new html_to_native option.
462
+
463
+ doc/news/release_0_8_0.page
464
+ doc/parser/kramdown.page
465
+ lib/kramdown/converter/html.rb
466
+ lib/kramdown/converter/latex.rb
467
+ lib/kramdown/options.rb
468
+ lib/kramdown/parser/kramdown/html.rb
469
+ test/testcases/block/09_html/html_to_native/code.html
470
+ test/testcases/block/09_html/html_to_native/code.text
471
+ test/testcases/block/09_html/html_to_native/emphasis.html
472
+ test/testcases/block/09_html/html_to_native/emphasis.text
473
+ test/testcases/block/09_html/html_to_native/entity.html
474
+ test/testcases/block/09_html/html_to_native/entity.text
475
+ test/testcases/block/09_html/html_to_native/header.html
476
+ test/testcases/block/09_html/html_to_native/header.options
477
+ test/testcases/block/09_html/html_to_native/header.text
478
+ test/testcases/block/09_html/html_to_native/options
479
+ test/testcases/block/09_html/html_to_native/paragraph.html
480
+ test/testcases/block/09_html/html_to_native/paragraph.text
481
+ test/testcases/block/09_html/html_to_native/table.html
482
+ test/testcases/block/09_html/html_to_native/table.text
483
+ test/testcases/block/09_html/html_to_native/typography.html
484
+ test/testcases/block/09_html/html_to_native/typography.text
485
+
486
+ commit 14233a850d51edb543abd85157a2016bf79dacfe
487
+ Author: Thomas Leitner <t_leitner@gmx.at>
488
+ Date: Sun May 23 06:16:12 2010 +0200
489
+
490
+ Test file now supports loading a common directory options file
491
+
492
+ test/test_files.rb
493
+
494
+ commit 0a7ebd0623e21eddd1a4a83bcc845dd7107c50ec
495
+ Author: Thomas Leitner <t_leitner@gmx.at>
496
+ Date: Sat May 22 08:43:32 2010 +0200
497
+
498
+ HTML tags inside raw HTML span tags are now parsed as raw HTML tags
499
+
500
+ doc/news/release_0_8_0.page
501
+ lib/kramdown/parser/kramdown/html.rb
502
+
503
+ commit 27bef199e798d26b29d42864bbbbd278f241a168
504
+ Author: Thomas Leitner <t_leitner@gmx.at>
505
+ Date: Sat May 22 08:41:35 2010 +0200
506
+
507
+ HTML code and pre tags are now parsed as raw HTML tags
508
+
509
+ doc/news/release_0_8_0.page
510
+ lib/kramdown/parser/kramdown/html.rb
511
+
512
+ commit 595a29f4fa8a0e943c15f0029267b02ef49a4054
513
+ Author: Thomas Leitner <t_leitner@gmx.at>
514
+ Date: Sat May 22 08:32:47 2010 +0200
515
+
516
+ Fixed problem with HTML span parsing
517
+
518
+ Some text was not added to the correct element when the end tag was not
519
+ found.
520
+
521
+ doc/news/release_0_8_0.page
522
+ lib/kramdown/parser/kramdown/html.rb
523
+ test/testcases/span/05_html/invalid.html
524
+ test/testcases/span/05_html/invalid.text
525
+
526
+ commit 936564a194e81469fb0d95607b4ecbe1c0dc9cd7
527
+ Author: Thomas Leitner <t_leitner@gmx.at>
528
+ Date: Sat May 22 08:22:21 2010 +0200
529
+
530
+ Renamed element type :html_text to :raw_text
531
+
532
+ This type of text element is basically the same as the :text element
533
+ but it is not parsed with the span level parser.
534
+
535
+ lib/kramdown/converter/html.rb
536
+ lib/kramdown/converter/latex.rb
537
+ lib/kramdown/parser/kramdown/html.rb
538
+
539
+ commit c4b87346c193065282a7c3aec4d5f12baf0f18ef
540
+ Author: Thomas Leitner <t_leitner@gmx.at>
541
+ Date: Sat May 22 07:37:35 2010 +0200
542
+
543
+ Two fixes in typographic sym parser
544
+
545
+ * Entities were added as string and not as entity elements which is now
546
+ corrected.
547
+ * Renamed :ellipsis to :hellip
548
+
549
+ doc/news/release_0_8_0.page
550
+ lib/kramdown/converter/html.rb
551
+ lib/kramdown/converter/latex.rb
552
+ lib/kramdown/parser/kramdown/typographic_symbol.rb
553
+
554
+ commit f9041fc4b7e5284d6a30b389519b9ebf562d6431
555
+ Author: Thomas Leitner <t_leitner@gmx.at>
556
+ Date: Fri May 21 18:49:53 2010 +0200
557
+
558
+ Table header cells are now represented by their own element type
559
+
560
+ doc/news/release_0_8_0.page
561
+ lib/kramdown/converter/html.rb
562
+ lib/kramdown/converter/latex.rb
563
+ lib/kramdown/parser/kramdown/table.rb
564
+
565
+ commit bc060c1db0badbcf6c19797c338c945f45f4b94e
566
+ Author: Thomas Leitner <t_leitner@gmx.at>
567
+ Date: Thu May 20 17:46:16 2010 +0200
568
+
569
+ Bumped version number and added release notes file
570
+
571
+ doc/news/release_0_8_0.page
572
+ lib/kramdown/version.rb
573
+
574
+ commit 3975435056216bbe0c19fbbad4b9985e04f78d68
575
+ Author: Thomas Leitner <t_leitner@gmx.at>
576
+ Date: Thu May 20 17:42:11 2010 +0200
577
+
578
+ Removed support for old extension syntax and custom extensions
579
+
580
+ lib/kramdown/options.rb
581
+ lib/kramdown/parser/kramdown.rb
582
+ lib/kramdown/parser/kramdown/extension.rb
583
+
584
+ commit 4e2e24907f0e16f2e6f7755fa3cc4f8c3615e62d
585
+ Author: Thomas Leitner <t_leitner@gmx.at>
586
+ Date: Thu May 20 08:35:03 2010 +0200
587
+
588
+ Updated API documentation
589
+
590
+ lib/kramdown/converter.rb
591
+ lib/kramdown/converter/base.rb
592
+ lib/kramdown/document.rb
593
+ lib/kramdown/options.rb
594
+ lib/kramdown/parser.rb
595
+
596
+ commit 50d4b0607abfbe26f590096129471ff149da6593
597
+ Author: Thomas Leitner <t_leitner@gmx.at>
598
+ Date: Thu May 20 08:14:49 2010 +0200
599
+
600
+ Small fix for determining the converter class to use when using the doc.to_ shortcut
601
+
602
+ lib/kramdown/document.rb
603
+
604
+ commit 03e15d86ca11ca327d22b6a8b43e8d77337fd34c
605
+ Author: Thomas Leitner <t_leitner@gmx.at>
606
+ Date: Thu May 20 07:32:46 2010 +0200
607
+
608
+ Attributes assigned to TOC list are now applied to generated TOC list
609
+
610
+ doc/converter/html.page
611
+ lib/kramdown/converter/html.rb
612
+
613
+ commit be2d2abef64a8d10ad0ad13f7fbee3fb485cd115
614
+ Author: Thomas Leitner <t_leitner@gmx.at>
615
+ Date: Wed May 19 07:50:03 2010 +0200
616
+
617
+ Updated copyright notice task and copyright notices
618
+
619
+ Rakefile
620
+ lib/kramdown.rb
621
+ lib/kramdown/compatibility.rb
622
+ lib/kramdown/converter.rb
623
+ lib/kramdown/converter/base.rb
624
+ lib/kramdown/converter/html.rb
625
+ lib/kramdown/converter/latex.rb
626
+ lib/kramdown/document.rb
627
+ lib/kramdown/error.rb
628
+ lib/kramdown/options.rb
629
+ lib/kramdown/parser.rb
630
+ lib/kramdown/parser/kramdown.rb
631
+ lib/kramdown/parser/kramdown/attribute_list.rb
632
+ lib/kramdown/parser/kramdown/autolink.rb
633
+ lib/kramdown/parser/kramdown/blank_line.rb
634
+ lib/kramdown/parser/kramdown/blockquote.rb
635
+ lib/kramdown/parser/kramdown/codeblock.rb
636
+ lib/kramdown/parser/kramdown/codespan.rb
637
+ lib/kramdown/parser/kramdown/emphasis.rb
638
+ lib/kramdown/parser/kramdown/eob.rb
639
+ lib/kramdown/parser/kramdown/escaped_chars.rb
640
+ lib/kramdown/parser/kramdown/extension.rb
641
+ lib/kramdown/parser/kramdown/footnote.rb
642
+ lib/kramdown/parser/kramdown/header.rb
643
+ lib/kramdown/parser/kramdown/horizontal_rule.rb
644
+ lib/kramdown/parser/kramdown/html.rb
645
+ lib/kramdown/parser/kramdown/html_entity.rb
646
+ lib/kramdown/parser/kramdown/line_break.rb
647
+ lib/kramdown/parser/kramdown/link.rb
648
+ lib/kramdown/parser/kramdown/list.rb
649
+ lib/kramdown/parser/kramdown/math.rb
650
+ lib/kramdown/parser/kramdown/paragraph.rb
651
+ lib/kramdown/parser/kramdown/smart_quotes.rb
652
+ lib/kramdown/parser/kramdown/table.rb
653
+ lib/kramdown/parser/kramdown/typographic_symbol.rb
654
+ lib/kramdown/version.rb
655
+
656
+ commit 3590129a6ad01161ee8f03a25f4d93d14fd6f4b1
657
+ Author: Thomas Leitner <t_leitner@gmx.at>
658
+ Date: Wed May 19 07:20:20 2010 +0200
659
+
660
+ Updated documentation content and structure
661
+
662
+ Rakefile
663
+ doc/default.less.css
664
+ doc/default.template
665
+ doc/documentation.page
666
+ doc/index.page
667
+ doc/installation.page
668
+ doc/parser/kramdown.page
669
+ doc/quickref.page
670
+ doc/syntax.page
671
+
1
672
  commit 0e73d548e89a77b0318efa151aa1c6279d7f1c00
2
673
  Author: Thomas Leitner <t_leitner@gmx.at>
3
674
  Date: Fri May 7 12:17:58 2010 +0200