每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,欢迎关注开源日报。交流QQ群:202790710;微博:https://weibo.com/openingsource;电报群 https://t.me/OpeningSourceOrg
今日推荐开源项目:《动画 JS 库 Popmotion》GitHub链接
推荐理由:Popmotion 是一个功能强大的反应式 JavaScript 运动库,它可以允许我们根据用户进行的不同操作来产生不同的动画,并且还支持自定义其中的补间动画。它不需要特别的依赖,在各种框架中都能够使用
今日推荐英文原文:《4 Markdown-powered slide generators》作者:
原文链接:https://opensource.com/article/18/5/markdown-slide-generators
推荐理由:这篇文章介绍了能够将Markdown与幻灯片结合的工具,这些工具可以将Markdown格式的文件转化为PDF或者HTML格式的幻灯片,有些还使用双窗格来做到一边写Markdown一边生成幻灯片预览,对于习惯了Markdown的朋友们来说,这些工具兴许能帮他们省下做个新幻灯片的时间了
4 Markdown-powered slide generators
Imagine you've been tapped to give a presentation. As you're preparing your talk, you think, "I should whip up a few slides."
Maybe you prefer the simplicity of plain text, or maybe you think software like LibreOffice Writer is overkill for what you need to do. Or perhaps you just want to embrace your inner geek.
It's easy to turn files formatted with Markdown into attractive presentation slides. Here are four tools that can do help you do the job.
Landslide
One of the more flexible applications on this list, Landslide is a command-line application that takes files formatted with Markdown, reStructuredText, or Textile and converts them into an HTML file based on Google’s HTML5 slides template.
All you need to do is write up your slides with Markdown, crack open a terminal window, and run the command landslide
followed by the name of the file. Landslide will spit out presentation.html, which you can open in any web browser. Simple, isn’t it?
Don't let that simplicity fool you. Landslide offers more than a few useful features, such as the ability to add notes and create configuration files for your slides. Why would you want to do that? According to Landslide's developer, it helps with aggregating and reusing source directories across presentations.
Marp
Marp is a work in progress, but it shows promise. Short for "Markdown Presentation Writer," Marp is an Electron app in which you craft slides using a simple two-pane editor: Write in Markdown in the left pane and you get a preview in the right pane.
Marp supports GitHub Flavored Markdown. If you need a quick tutorial on using GitHub Flavored Markdown to write slides, check out the sample presentation. It's a bit more flexible than baseline Markdown.
While Marp comes with only two very basic themes, you can add background images to your slides, resize them, and include math. On the down side, it currently lets you export your slides only as PDF files. To be honest, I wonder why HTML export wasn’t a feature from day one.
Pandoc
You probably know pandoc as a magic wand for converting between various markup languages. What you might not know is that pandoc can take a file formatted with Markdown and create attractive HTML slides that work with the Slidy, Slideous, DZSlides, S5, and Reveal.js presentation frameworks. If you prefer LaTeX, you can also output PDF slides using the Beamer package.
You'll need to use specific formatting for your slides, but you can add some variables to control how they behave. You can also change the look and feel of your slides, add pauses between slides, and include speaker notes.
Of course, you must have the supporting files for your preferred presentation framework installed on your computer. Pandoc spits out only the raw slide file.
Hacker Slides
Hacker Slides is an application for Sandstorm and Sandstorm Oasis that mates Markdown and the Reveal.js slide framework. The slides are simple, but they can be visually striking.
Craft your slide deck in a two-pane editor in your browser—type in Markdown on the left and see it rendered on the right. When you're ready to present, you can do it from within Sandstorm or get a link that you can share with others to present remotely.
What’s that—you say that you don’t use Sandstorm or Sandstorm Oasis? No worries.There's a version of Hacker Slides that you can run on your desktop or server.
Two honorable mentions
If you use Jupyter Notebooks (see community moderator Don Watkins' article) to publish data or instructional texts, then Jupyter2slides is for you. It works with Reveal.js to convert a notebook into a nice set of HTML slides.
If you prefer your applications hosted, test-drive GitPitch. It works with GitHub, GitLab, and Bitbucket. Just push the source files for your slides to a repository on one of those services, point GitPitch to that repository, and your slides are ready to view at the GitPitch site.
每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,欢迎关注开源日报。交流QQ群:202790710;微博:https://weibo.com/openingsource;电报群 https://t.me/OpeningSourceOrg