Giter Club home page Giter Club logo

slide's Introduction

marp
<style scoped> /* section{ background: yellow; } */ </style>

Marp スライド雛形

このリポジトリはマークダウンでスライドが作れる Marp のベクトル用雛形&スライド管理用です。

LICENCE : MIT


セットアップ

VSCODEの機能拡張でMARPをインストールしてください。

スライドとしての使い方

まず md ファイルの一番最初の marp: false を true に変更すると marp のスライドモードになります。

公式ドキュメント

https://marpit.marp.app/directives?id=usage


カスタマイズ方法

スライドのデザインはCSSでカスタマイズする事ができます。

直接手動でカスタマイズする場合は themes/css/style.css を書き換えてください。

テーマのCSSドキュメント

https://marpit.marp.app/theme-css


SCSSでのカスタマイズ

scssで編集する場合は以下でgulpが走ります。

npm install
gulp

theme/_scss/raw.scss を変更してください。

しかし Marpのデフォルトのスタイルを読み込むのが @default だが、これが scss のファイルにあるとsassのコンパイルでエラーになるため、別途コンパイルした後で @import "default" が書いてある _default_import.css を raw.cssと結合して style.css を生成している。


slide's People

Contributors

kurudrive avatar naogify avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.