JohnCardinal / crunchy

Automatically exported from code.google.com/p/crunchy
0 stars 0 forks source link

rst directives could likely be greatly simplified #232

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Rather than having a number of crunchy-specific directives, we could have a
single one, which would simply pass all of its arguments to the title
attribute.

The drawback to this approach is that all directives would have to go in
the same html tag (<pre> would be the logical choice) which would mean some
changes elsewhere in Crunchy.

Given that Crunchy starts for simplicity to the user/writer, this seems
like the right thing to do.  Furthermore, it is unlikely to conflict with
any other docutils directive, whereas the current approach used (a new
directive name for each interactive element) could be more problematic.

I will start looking at this and implement it.

Original issue reported on code.google.com by andre.ro...@gmail.com on 24 Aug 2009 at 4:04

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1356.

Original comment by andre.ro...@gmail.com on 24 Aug 2009 at 5:13