[x] And yes, I already searched for current issues and this did not help me.
Melody Information
Melody Version:
1.9.0
Platform:
macOS 10.13.6 (High Sierra)
Browser:
Firefox
Expected behavior
运行hexo服务后,使用幻灯片插件显示正确内容。
translator
After running the hexo service, use the slideshow plugin to display the correct content.
Actual behavior
运行hexo服务后,使用幻灯片插件未显示内容。
Firefox -> Web控制台,显示 Uncaught ReferenceError: hljs is not defined
translator
After running the hexo service, the content is not displayed using the slideshow plugin.
Firefox -> Web console, display Uncaught ReferenceError: hljs is not defined.
Screenshots
Steps to reproduce the behavior
$ cd src/hexo
$ hexo init
$ hexo new draft hello-slides
$ vi source/__drafts/hello-slides
---
title: hello-slides
tags: 默认标签
categories: 默认分类
date: 2020-12-28 12:15:41
layout: slides
---
### 这是一份草稿
### hexo-theme-melody <small>v1.5</small>
<!-- .slide: data-background="#49B1F5" -->
Supports iframe & slides. You can use a layout called `slides` to enabled the slides layout.
Also you can add a `iframe` front-matter with the `slides` layout in your `md` file to enable the iframe page.
### Steps
<!-- .slide: data-transition="concave" data-background="#C7916B" -->
#### 1. Add a slides page
// ......
==
// ......
===
#### 2. Add the layout type
<!-- .slide: data-transition="fade" data-background="#00C4B6" -->
// ......
$ # [hexo-theme-melody#218](https://github.com/Molunerfinn/hexo-theme-melody/issues/218)
$ # 尝试修改timeout为10000,依然报错。
$ # translator
$ # >attempt to modify the timeout of 10,000, is still an error.
$ hexo clean && hexo s --draft
I want to create a new issue
Melody Information
Melody Version: 1.9.0
Platform: macOS 10.13.6 (High Sierra)
Browser: Firefox
Expected behavior
运行hexo服务后,使用幻灯片插件显示正确内容。
translator
Actual behavior
运行hexo服务后,使用幻灯片插件未显示内容。 Firefox -> Web控制台,显示
Uncaught ReferenceError: hljs is not defined
translator
Screenshots
Steps to reproduce the behavior
Feature Request
参考 Docs: reveal plugins 进行如下修改后
内容正常显示:
translator
node_modules/hexo-theme-melody/layout/includes/slide/script.pug
Screenshots