This repository was archived by the owner on Mar 14, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed
Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1- /* nothing here yet */
1+ .emoji {
2+ width : 1.5em ;
3+ height : 1.5em ;
4+ display : inline-block;
5+ margin-bottom : -0.25em ;
6+ background-size : contain;
7+ }
Original file line number Diff line number Diff line change 11module . exports = {
22 website : {
3- assets : "./book" ,
4- js : [
5- "book.js"
6- ] ,
3+ assets : "./node_modules/emojify.js/dist/images/basic/" ,
4+ js : [ ] ,
75 css : [
8- "book.css"
6+ "./ book/plugin .css"
97 ]
108 } ,
119
1210 blocks : { } ,
1311
1412 hooks : {
1513 "page:before" : function ( page ) {
16- /*page.content = page.content.replace(/:white_check_mark:/g, "FOO");*/
1714 var emojify = require ( "emojify.js" ) ;
15+ emojify . setConfig ( { img_dir : '/gitbook/plugins/gitbook-plugin-advanced-emoji/' } ) ;
1816 page . content = emojify . replace ( page . content ) ;
1917 return page ;
2018 }
Original file line number Diff line number Diff line change 22 "name" : " gitbook-plugin-advanced-emoji" ,
33 "description" : " Shows the common emojis used on GitHub" ,
44 "main" : " index.js" ,
5- "version" : " 0.0.4 " ,
5+ "version" : " 0.0.5 " ,
66 "engines" : {
77 "gitbook" : " >=2.5.0"
88 },
You can’t perform that action at this time.
0 commit comments