<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: kkibria</title>
    <description>The latest articles on DEV Community by kkibria (@kkibria).</description>
    <link>https://dev.to/kkibria</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F824882%2Fa6238b4c-a0c7-41e9-90a4-c809cdf90bd7.png</url>
      <title>DEV Community: kkibria</title>
      <link>https://dev.to/kkibria</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kkibria"/>
    <language>en</language>
    <item>
      <title>How to make a slide presentation with a simple Markdown text file</title>
      <dc:creator>kkibria</dc:creator>
      <pubDate>Thu, 03 Mar 2022 18:00:41 +0000</pubDate>
      <link>https://dev.to/kkibria/can-you-make-slide-presentation-with-a-text-file-1mdf</link>
      <guid>https://dev.to/kkibria/can-you-make-slide-presentation-with-a-text-file-1mdf</guid>
      <description>&lt;p&gt;Let me forewarn you, this actually is more of a personal story!&lt;/p&gt;

&lt;p&gt;Many of us make slide presentations often in our professional and personal life. I have used Powerpoint in my long professional life, it is very feature rich indeed. Making a flashy marketing presentation takes quite a bit of time. But that is not what we always do. I often wondered, why can't I make slides very quickly with just a text file using notepad or something? Specially for the team meetings on a Monday morning talking about technical issues on a software or hardware project. &lt;/p&gt;

&lt;p&gt;By the way, I love music. I studied music in a local college while working full time in a fortune 500 high tech company. As such I was always pressed for time even when it was not a Monday. &lt;/p&gt;

&lt;p&gt;First time I have seen something like that few years back, in a YouTube Google conference video, where the presenter created a slide show using web browser. It resonated with me.&lt;/p&gt;

&lt;p&gt;In the middle of pandemic, I was home a lot. So, I wanted to make a few YouTube videos about composing music. In later part of 2019, when I actually attempted, I really needed something simple and quick to make slide shows to be used for videos. Coincidentally, I was exposed to &lt;a href="https://svelte.dev"&gt;&lt;code&gt;svelte&lt;/code&gt;&lt;/a&gt;, a JavaScript driven tool that makes web technology easy. So I decided to give it a test drive for building something that I can use for making slides.&lt;/p&gt;

&lt;p&gt;It started as a simple CLI (Command Line Interface) tool, but as I was making more videos I needed to add more features. I kept on doing that and now in 2022, it has accumulated enough powerful features that I love the tool for building presentations. It uses Markdown as a source. I can use my laptop using &lt;code&gt;notepad&lt;/code&gt; or &lt;a href="https://code.visualstudio.com"&gt;&lt;code&gt;vscode&lt;/code&gt;&lt;/a&gt; to create the content. The tool incorporates &lt;a href="https://github.com/livereload/livereload-js"&gt;&lt;code&gt;livereload&lt;/code&gt;&lt;/a&gt;, and the slides get updated while I am developing the content. I keep the browser and &lt;code&gt;notepad&lt;/code&gt; side by side and I am happy. It provides nice useful layout capabilities. I can take my laptop and show the slides in a meeting.&lt;/p&gt;

&lt;p&gt;For instance I made this slide with a text file,&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8zn_JEk1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1oc28wtw1ut3xybt5mf9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8zn_JEk1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1oc28wtw1ut3xybt5mf9.png" alt="A Sample SlideShow slide" width="871" height="651"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Not bad!&lt;/p&gt;

&lt;p&gt;I used the following text in Markdown format which yielded the slide above,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Slides and Navigation
## How do I make multiple slides?  

Do I need to make one text file for each slide? That might
be a lot of files!

Worry no more.

A single Markdown file can contain all your slides. We use
simple and practical ways to break the content into multiple
slides.

- Use top level headings to create new slides.
- Use Front Matter to create a new group of slides in a
  particular layout.

&amp;gt;- &amp;gt; Did you notice that we have switched, just now, the layout to a ***two column*** mode?
&amp;gt;- &amp;gt; It was done with ***Front Matter***.

## Navigating thru the SlideShow presentation is simple
You can use followings to navigate between the pages:  
- `PageUp`, `â†‘` (`Up-Arrow`), `â†` (`Left-Arrow`) keys to go
  backward.  
- Swipe right in mobile or touchscreen to go backward.
- `PageDown`, `â†“` (`Down-Arrow`), `â†’` (`Right-Arrow`) keys
  to go forward.  
- Swipe left in mobile or touchscreen to go forward.
- `MouseWheel` to go in both directions.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and I used following text in the front matter to control the layout,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;layout: TwoColumn
footnote: True
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I also can upload the content on any website and my audience can view the presentations on a web browser on their desktop, laptop and mobile devices. I actually use &lt;a href="https://pages.github.com"&gt;&lt;code&gt;github pages&lt;/code&gt;&lt;/a&gt; to host my site free, works for me really great.&lt;/p&gt;

&lt;p&gt;There are more layout capabilities in the tool of course. I have plan to add markdown text based math formula, diagram and graph rendering libraries in future.  &lt;/p&gt;

&lt;p&gt;With hope that it might be beneficial to some of you as it did for me, here is the link to a slide presentation hosted in github. Feel free to check &lt;a href="https://kkibria.github.io/slideshow-dist"&gt;SlideShow&lt;/a&gt;, which I built with the tool, for showcasing the tool. In this you will also find instructions on how to install the tool if you want to try it out. I like to know what you think.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>productivity</category>
      <category>markdown</category>
      <category>svelte</category>
    </item>
  </channel>
</rss>
