在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):jdan/cleaver开源软件地址(OpenSource Url):https://github.com/jdan/cleaver开源编程语言(OpenSource Language):JavaScript 80.3%开源软件介绍(OpenSource Introduction):Cleaver30-second Slideshows for Hackers. http://jdan.github.io/cleaver/ IntroCleaver turns this:
Into this: Quick StartGet it on NPM: npm install -g cleaver
# To update: npm update -g cleaver And run it like so: cleaver path/to/something.md You can also watch for changes on a file and automatically recompile with: cleaver watch path/to/something-changing.md
# Watching for changes on presentation.md. Ctrl-C to abort.
# Rebuilding: Thu Nov 07 2013 00:15:03 GMT-0500 (EST)
# Rebuilding: Thu Nov 07 2013 00:15:21 GMT-0500 (EST)
# Rebuilding: Thu Nov 07 2013 00:16:01 GMT-0500 (EST)
# Rebuilding: Thu Nov 07 2013 00:16:09 GMT-0500 (EST) Use the $ cleaver --debug examples/basic.md
cleaver loaded input document +0ms
helper read /Users/jordan/Projects/cleaver/templates/layout.mustache +0ms
helper read /Users/jordan/Projects/cleaver/templates/author.mustache +0ms
helper read /Users/jordan/Projects/cleaver/templates/default.mustache +0ms
cleaver loaded templates +3ms
cleaver parsed metadata +4ms
helper read /Users/jordan/Projects/cleaver/resources/default.css +13ms
helper read /Users/jordan/Projects/cleaver/resources/github.css +0ms
helper read /Users/jordan/Projects/cleaver/resources/script.js +0ms
cleaver loaded static assets +9ms
cleaver rendered slides +1ms
cleaver rendered presentation +1ms More InfoCleaver is a one-stop shop for generating HTML presentations in record time. Using some spiced up markdown, you can produce good-looking, interactive presentations with a just a few lines of text. Slides are written in Markdown,
and are separated by two dashes ( Options
Cleaver supports several basic options that allow you to further customize the look and feel of your presentation, including author info, stylesheets, and custom templates. See the documentation on options for more information. Be sure to check out the wiki as well. ThemesCheck out the themes page on our wiki.
Cleaver has substantial theme support to give you more fine-grained control over your presentation, similar to options. Instead of manually specifying a stylesheet, template, layout, and others, you can specify a single theme containing each of these assets. More specifically, a theme may contain:
A theme does not need to contain all of these files, only the ones present will be loaded into your slideshow. Examples
Specifying ThemesThemes may be specified by one of the following options:
Overriding ThemesBy default, style.css and script.js will be appended to the default stylesheets and javascripts included in cleaver presentations. If you wish to completely override these defaults, you must include another file in your theme - settings.json - corresponding to the following: {
"override": true
} Template files will automatically override the default templates. More InfoFor more information on themes, check out our documentation. MarkupCleaver slides are rendered using the following template: And produce the following markup:
#slide-N (for example, #slide-3) allows you to identify a particular full-bleed slide by its position in the slideshow. It extends to the bounds of the page. .slide-content is a smaller window which holds the actual content of the slide. Class ListA class list can be placed after each "slice" (denoted
Slide TypesTitle slide
h1 and h2 elements (prefaced with # and ## respectively), will automatically include padding to render a title slide. Other slides
Since slides are written in Markdown, you can include things like lists, images, and arbitrary HTML. h3 tags (prefaced NavigationCleaver supports keyboard navigation for switching between slides. Alternatively, click the control buttons located below the presentation. To navigate the slideshow:
The toggle fullscreen mode, press the ENTER key. Contributing
With <3, -- |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论