Parser/Composer library for Python https://fdik.org/pypeg2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

8 lines
235 B

include yslt.yml2
stylesheet {
param "file";
template "/page" div class=contents menu apply "h2|h3";
template "h2" li em a href="{$file}.html#{@id}" value ".";
template "h3" li a href="{$file}.html#{@id}" value ".";
}