Commit Graph

16243 Commits (4a47241a3e7dd1c8df1cd0593b116f41c4f18a51)

Author SHA1 Message Date
Joey Hess aa2ba8ad9a update 2012-01-01 17:37:49 -04:00
Joey Hess 12f86df239 workaround a bug in the discount perl binding
Empty input, or input consisting soley of whitespace
caused an uninitialized value warning.
2012-01-01 17:28:31 -04:00
Joey Hess 37f7f125f9 fix test suite to work with discount
In the first test, discount returns the html attributes in a different
order, which broke the test. Test only for the important text, not the
exact html output.

In the second test, discount does some encoding of its own of the partially
encoded url, again resulting in different output.
2012-01-01 17:28:31 -04:00
Joey Hess 9dce803faf discount support
mdwn: Can use the discount markdown library, via the
Text::Markdown::Discount perl module.

This is preferred if available since it's the fastest currently supported
markdown library, speeding up markdown rendering by a factor of 40.

That is to say, when only rendering a lot of markdown, discount is 40x
faster. When building a ikiwiki site, ikiwiki's other overhead gets in the
way, but I still see significant speedups. Building the ikiwiki docwiki
dropped from 62 to 45 seconds, for example.

However, when multimarkdown is enabled, Text::Markdown::Multimarkdown is
still used.

While discount contains some nonstandard markdown extensions,
including tables and footnotes, AFAICS most of them are not
enabled by default in the perl bindings.

I consider sticking to non-extended markdown a desirable thing, since this
is probably not the last markdown engine. In particular, sundown is waiting
in the wings to get packaged and get a perl binding.

----

Reviewing all the showdown extensions, here are the ones that are enabled:

centered paragraphs:

->centered<-

image sizes: [dust mite](http://dust.mite =150x150)

<style>..</style> blocks are eaten. The perl binding does not provide
access to the gathered CSS. This is not legal html anyway, so unlikely
to cause breakage.
2012-01-01 17:28:31 -04:00
http://joey.kitenet.net/ 28e66cd34a Added a comment 2011-12-30 14:13:19 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM de43c90249 2011-12-30 13:23:43 -04:00
Joey Hess db77e97e03 add news item for ikiwiki 3.20111229 2011-12-29 12:09:13 -04:00
Joey Hess 5e3e329063 releasing version 3.20111229 2011-12-29 12:08:59 -04:00
Joey Hess bcd863df2a Merge branch 'master' of ssh://git.ikiwiki.info 2011-12-29 12:08:48 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlqWSY9PNYRysA9vrU-JiQh7-s7q6SOcIE caf453fc2a Pendantic grammer change 2011-12-29 11:35:41 -04:00
Joey Hess 9244b47d00 Merge branch 'master' of ssh://git.ikiwiki.info 2011-12-29 10:31:23 -04:00
https://www.google.com/accounts/o8/id?id=AItOawk_MMtLPS7osC5MjX00q2ATjvvXPWqm0ik 1254e72d68 Added a comment 2011-12-28 19:06:06 -04:00
https://launchpad.net/~tale e71b299f0b Added a comment: What are the permissions? 2011-12-28 15:35:26 -04:00
Jon Dowland df5fc61629 parking this for the time being 2011-12-28 18:13:52 +00:00
Jon Dowland 44fc7daf9c fix link 2011-12-28 17:11:57 +00:00
Jon Dowland 3f5d4e5452 update link to plugin 2011-12-28 17:05:05 +00:00
Jon Dowland 728441b49e contrib plugin: pagespecalias 2011-12-28 17:05:05 +00:00
Jon Dowland ca9ef01c93 reply to Joey 2011-12-28 17:05:05 +00:00
Jon Dowland b4d2ec335b reply to Kathryn 2011-12-28 17:05:05 +00:00
https://www.google.com/accounts/o8/id?id=AItOawk_MMtLPS7osC5MjX00q2ATjvvXPWqm0ik 1d79b80fb1 2011-12-28 12:54:45 -04:00
https://launchpad.net/~tale 427aa60393 Added a comment: branch = master, still no luck 2011-12-27 23:22:57 -04:00
https://launchpad.net/~tale 2d68b3dc99 Added a comment: Checked old host, git messed up there, too 2011-12-27 14:59:38 -04:00
https://launchpad.net/~tale d236c55c87 Added a comment: Editing via browser works 2011-12-27 14:47:17 -04:00
Joey Hess c8a4ffff53 Merge branch 'master' of ssh://git.ikiwiki.info 2011-12-27 12:33:21 -04:00
https://launchpad.net/~tale 0daa03f4c9 Added a comment 2011-12-27 12:18:33 -04:00
Joey Hess b8bf318b91 remove x bit from comments.pm
how did that get set?
2011-12-27 11:37:28 -04:00
Erkan_Yilmaz ce79cf47e7 rc + link to me 2011-12-27 01:01:32 -04:00
Erkan_Yilmaz 5aed69b96a typo 2011-12-27 00:56:03 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkARRfU19FmAvBQJ0zR_vlTi_KEiL9meFE f3582ee2d6 Fixed link to Pandoc-Iki GitHub repo 2011-12-26 13:06:19 -04:00
Joey Hess ffdf8e08f9 remove at poster's request 2011-12-24 22:01:46 -04:00
Joey Hess a9c422a953 move comment to right post 2011-12-24 20:11:15 -04:00
http://joey.kitenet.net/ 2b59dc7cc9 Added a comment 2011-12-24 20:08:22 -04:00
http://joey.kitenet.net/ e89952e559 Added a comment 2011-12-24 20:07:29 -04:00
Joey Hess bbf255276b changelog 2011-12-24 19:43:17 -04:00
Giuseppe Bilotta 7411d1a6ce tag plugin: encode categories using numeric values
This ensures that RSS/Atom feeds produced are valid XML.
2011-12-24 19:43:16 -04:00
Joey Hess 855d3a52d4 remove /recentchanges from .gitignore
recentchanges cruft is now stored under .ikiwiki
2011-12-24 19:43:16 -04:00
Joey Hess 767c58d7a5 response 2011-12-24 19:43:16 -04:00
Joey Hess 90aefedc7c remove 2 questionable sentances
For the first, ikiwiki automatically rebuilds as needed when a template is
changes.

I don't entirely understand what the second is trying to say.
2011-12-24 19:43:15 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM a50153d49a removed 2011-12-24 15:28:51 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM 8f94a7160b Added a comment 2011-12-24 15:27:16 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM f8f53b7e57 2011-12-24 15:25:50 -04:00
https://launchpad.net/~tale d15d20aded Asking for help 2011-12-23 12:41:47 -04:00
https://launchpad.net/~tale eedf5cb34f Added a comment: When is ikiwiki --setup run? 2011-12-23 09:49:55 -04:00
http://joey.kitenet.net/ c0f85e9fff Added a comment 2011-12-22 12:15:34 -04:00
http://joey.kitenet.net/ 48a163259d Added a comment 2011-12-22 12:12:42 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM 0283e30fdf 2011-12-22 10:16:37 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM 162921ab8c 2011-12-22 01:44:56 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM bb01e7ebc6 2011-12-22 01:34:29 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM 172c686600 2011-12-20 20:48:48 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM ebc9472cd2 removed 2011-12-20 17:42:44 -04:00