Skip to content

prism_plugin options should be added to _config.yml file #60

@yanghaoi

Description

@yanghaoi

1、I hava a error when I use hexo clean:
image

err: Error: prism_plugin options should be added to _config.yml file
at \hexo-prism-plugin\src\index.js:70:9
at \hexo\lib\hexo\index.js:315:14
at tryCatcher (\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (
\bluebird\js\release\promise.js:547:31)
at Promise._settlePromise (\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (
\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (\bluebird\js\release\promise.js:729:18)
at _drainQueueStep (
\bluebird\js\release\async.js:93:12)
at _drainQueue (\bluebird\js\release\async.js:86:9)
at Async._drainQueues (
\bluebird\js\release\async.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (**\bluebird\js\release\async.js:15:14)
at processImmediate (internal/timers.js:456:21)
} Plugin load failed: %s hexo-prism-plugin

2、But,prism_plugin options is added to _config.yml file and my posts is worded:
image

So, this a bug without detriment to work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions