mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-14 12:52:42 +00:00
Add snippet for removing drop cap (aka fancy first letter).
This commit is contained in:
@@ -77,6 +77,15 @@ module.exports = [
|
|||||||
icon : 'fas fa-book',
|
icon : 'fas fa-book',
|
||||||
gen : TableOfContentsGen
|
gen : TableOfContentsGen
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name : 'Remove Drop Cap',
|
||||||
|
icon : 'fas fa-remove-format',
|
||||||
|
gen : '<style>\n' +
|
||||||
|
' .phb h1+p:first-letter {\n' +
|
||||||
|
' all: unset;\n' +
|
||||||
|
' }\n' +
|
||||||
|
'</style>'
|
||||||
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -77,8 +77,15 @@ module.exports = [
|
|||||||
icon : 'fas fa-book',
|
icon : 'fas fa-book',
|
||||||
gen : TableOfContentsGen
|
gen : TableOfContentsGen
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name : 'Remove Drop Cap',
|
||||||
|
icon : 'fas fa-remove-format',
|
||||||
|
gen : '<style>\n' +
|
||||||
|
' .phb h1+p:first-letter {\n' +
|
||||||
|
' all: unset;\n' +
|
||||||
|
' }\n' +
|
||||||
|
'</style>'
|
||||||
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user