mugifly / mugifly.github.io

Personal blog about software development, built with Scully (SSG) + esa.io

Home Page:https://mugifly.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mugifly.github.io

A personal blog about software development built with Scully + esa.io.

https://mugifly.github.io/

Custom plugins for Scully

Full-text search with Lunr.js on Scully.

Custom plugins for Scully with esa.io

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.

Build

In development, it is convenient to execute the following commands at the same time.

  • npm run watch (Angular)
  • npx scully --watch (Scully)

Author

Masanori Ohgita (mugifly).

About

Personal blog about software development, built with Scully (SSG) + esa.io

https://mugifly.github.io

License:MIT License


Languages

Language:TypeScript 70.9%Language:SCSS 12.8%Language:HTML 11.9%Language:JavaScript 4.4%