Commit 487317e8 authored by Yannis Barlas's avatar Yannis Barlas

Merge branch 'more-fragment-info' into 'master'

use fragment\'s type and division

See merge request !6
parents 73b34c64 f53130d2
......@@ -281,6 +281,9 @@ class HTMLEPUB {
'@class': 'toc',
ol: {
li: this.xhtml.map(item => ({
'@class': 'toc_li',
'@class': `${item.division.toLowerCase()}`,
'@class': `${item.type.toLowerCase()}`,
'a': {
'@href': item.target,
'#text': item.title
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment