php-textile
php-textile copied to clipboard
Allow multiple note lists.
Extend textile 2.2 notelists to allow multiple lists of items. Main driver for this being possible use with HTML5 sections whereby a notelist of all notes occurring in a section can be placed in the section (probably just at the end.)
Requested by Julian.
You can test this proposed feature by downloading from the notes branch at https://github.com/netcarver/textile/tree/feature-multiple-notelists
For testing only : do not install this on live sites
Example usage for named notelists...
h4. Examples...
French cheese production is classified under four categories, and PDO/AOC rules dictate which category(ies) each protected cheese may be assigned to; Fermier[#Cheese:Fermier], Artisanal[#Cheese:Artisanal], Coopérative[#Cheese:Coopérative] or Industriel[#Cheese:Industriel]. Of the four categories, it is the opinion of this author, that Artisanal[#Cheese:Artisanal] cheeses are the best available.
note#Cheese:Unrefereced. See "Appellation d'Origine Contrôlée":http://en.wikipedia.org/wiki/Appellation_d%27Origine_Contr%C3%B4l%C3%A9e (AOC) system for more details.
note#Cheese:Fermier. A farmhouse cheese, which is produced on the farm where the milk is produced.
note#Cheese:Artisanal. A producer producing cheese in relatively small quantities using milk from their own farm, but may also purchase milk from local farms.
note#Cheese:Coopérative. A dairy with local milk producers in an area that have joined to produce cheese. In larger coopératives quantities of cheese produced may be relatively large, akin to some industriel producers (many may be classed as factory-made[#Industriel]).
note#Cheese:Industriel. A factory-made cheese from milk sourced locally or regionally, perhaps all over France (depending on the AOC/PDO regulations for specific cheeses).
h3. Cheese notes (with Greek back ref. chars.)...
notelist:α+. Cheese
This feature candidate also adds more semantic link ids. Where possible the notelist name and note label will be included in the automatically generated link ids. A random element is still present at the end of the generated link ids to make sure things still validate (on article-list pages, for example)