浏览代码

enable url hash for default index.html #2434 #2175

Hakim El Hattab 5 年之前
父节点
当前提交
f6f7f28ad9
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      index.html

+ 1 - 0
index.html

@@ -37,6 +37,7 @@
 			// - https://github.com/hakimel/reveal.js#configuration
 			// - https://github.com/hakimel/reveal.js#configuration
 			// - https://github.com/hakimel/reveal.js#dependencies
 			// - https://github.com/hakimel/reveal.js#dependencies
 			Reveal.initialize({
 			Reveal.initialize({
+				hash: true,
 				dependencies: [
 				dependencies: [
 					{ src: 'plugin/markdown/marked.js' },
 					{ src: 'plugin/markdown/marked.js' },
 					{ src: 'plugin/markdown/markdown.js' },
 					{ src: 'plugin/markdown/markdown.js' },