honkit / honkit

:book: HonKit is building beautiful books using Markdown - Fork of GitBook

Home Page:https://honkit.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to fix Error: Unknown language: "assembly"?

mudongliang opened this issue · comments

Hello,

I am a user of Gitbook.com, and would like to build a self-hosting hook other than gitbook.com. The github URL of our book is https://github.com/hust-open-atom-club/linux-insides-zh. However, I encountered one error in building, can someone help take a look?

Error: Unknown language: "assembly"
at _highlight (/usr/local/lib/node_modules/honkit/node_modules/highlight.js/lib/core.js:2107:13)
at Object.highlight (/usr/local/lib/node_modules/honkit/node_modules/highlight.js/lib/core.js:1720:9)
at highlight (/usr/local/lib/node_modules/honkit/node_modules/@honkit/honkit-plugin-highlight/index.js:36:21)
at Object.code (/usr/local/lib/node_modules/honkit/node_modules/@honkit/honkit-plugin-highlight/index.js:60:20)
at TemplateBlock.applyBlock (/usr/local/lib/node_modules/honkit/lib/models/templateBlock.js:163:29)
at /usr/local/lib/node_modules/honkit/lib/output/getModifiers.js:47:48
at /usr/local/lib/node_modules/honkit/lib/output/modifiers/highlightCode.js:49:39
at /usr/local/lib/node_modules/honkit/lib/output/modifiers/editHTMLElement.js:14:16
at /usr/local/lib/node_modules/honkit/lib/utils/promise.js:40:16
at /usr/local/lib/node_modules/honkit/lib/utils/promise.js:25:20
Could not find the language 'assembly', did you forget to load/include a language module?