LoginSignup
17
24

More than 1 year has passed since last update.

Markdown (とHTMLとCSS少し) でスライドを作るremark

Posted at

remarkとは

こういうのでいいんだよ、
「HTMLとCSSを使いこなせる人をターゲットにした、シンプルなブラウザ内マークダウン駆動のスライドショーツール」

A simple, in-browser, markdown-driven slideshow tool targeted at people who know their way around HTML and CSS


<!DOCTYPE html>
<html>
  <head>
    <title>タイトル</title>
    <meta charset="utf-8">
    <style>
      @import url('https://fonts.googleapis.com/css?family=Noto Sans JP&display=swap');
      @import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
      @import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
      @import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
      body { 
        font-family: 'Noto Sans JP', serif; 
      }
      h1, h2, h3 {
        font-family: 'Noto Sans JP', serif;
        font-weight: normal;
      }

      .remark-code, .remark-inline-code { font-family: 'Ubuntu Mono'; }
    </style>
  </head>
  <body>
    <textarea id="source">

class: center, middle

# タイトル

---

# アジェンダ

1. はじめに
2. 本日のメニュー
3. ...

---

# はじめに

    ```
     System.out.println("Hello, world!!!");

    ```

    </textarea>
    <script src="https://remarkjs.com/downloads/remark-latest.min.js">
    </script>
    <script>
      var slideshow = remark.create();
    </script>
  </body>
</html>


仕上がり

test.gif

関連

凝りたかったらCSSでおめかしして、内容はMarkdownで書いておけば良いやつ。
参考になればさいわいです。

17
24
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
17
24