This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
Releases: hiroppy/fusuma
Releases · hiroppy/fusuma
modify require.context
issue: #85
Fix #78
Add Code Syntax Highlighting options to a configuration file
Export prismjs options.
Please add slide.code
to .fusumarc.yml
or .fusumarc.js
.
# .fusumarc.yml
slide:
code:
languages:
- javascript
plugins:
- line-numbers
theme: twilight
Sample Slide: https://hiroppy.github.io/fusuma/intro/#slide=11
README: https://github.com/hiroppy/fusuma#code-syntax-highlighting
Fix exporting PDF
fixes: #65
✌️
Show page number
slides can now be split with separators!
Separators
Previously it was necessary to divide pages by file name, but now it is possible to separate them using separators.
<!-- background: title -->
# Title
---
<!-- background: red -->
## Hi😜
This page is the next page of the title.
Sample Repo: https://github.com/hiroppy/fusuma/tree/master/samples/intro-with-separator
Show the development url
Thanks @zhaozhiming!
Implement lazy-load
automatically generate table of contents
Fusuma can create a table of contents based on sectionTitle
automatically.
Sample
Input
## Contents
<!-- contents -->
<!-- sectionTitle: foo! -->
## foo!
This slide is page 5!
Output
<h2>Contents</h2>
<ul>
<li>
<a href="#5">foo!</a>
</li>
</ul>
<h2>foo!</h2>
<p>This slide is page 5!</p>
sample: https://github.com/hiroppy/fusuma/tree/master/samples/intro/slides
also the security problem was solved:)
make use of postcss-preset-env
in: postcss-preset-env, out: postcss-cssnext
in: postcss-url