A personal blog about software development built with Scully + esa.io.
Full-text search with Lunr.js on Scully.
I made custom plugins for Scully to fix some problems between Scully + esa.io.
In the esa.io code block, you can use markdown syntax to attach filenames (e.g., foo.html
, src/foo.js
).
On the other hand, the Scully syntax highlighting and markdown parser can only recognize its extension (e.g., html
, js
), which prevents highlighting from working properly.
This plugin fixes the codeblocks to correctly recognized by syntax highlighter. In addition, It appends a filename label at the top left of the code block.
esa.io's GitHub integration makes it easy to push articles to our GitHub repository.
However, the pushed filenames will be strange characters, such as 10.html.md
.
Therefore, Scully occurs the problem of creating static HTML with strange names, such as 10.html.html
.
This plugin fixes this problem.
In development, it is convenient to execute the following commands at the same time.
npm run watch
(Angular)npx scully --watch
(Scully)
Masanori Ohgita (mugifly).