Giter Site home page Giter Site logo

gestion-patrimoine's Introduction

Marp Action for GitHub

Presentations to Webpages: Instantly!

What?

Marp lets you create slides from markdown (like this!).

Marp Action lets you automatically deploy your presentation to GitHub Pages.

This presentation is both a website and a README.md.

Why?

Treat your presentation the same way you treat code.

Use git to track changes. Pull requests to collaborate. Deploy to a webpage automatically.

See a bug? Open an issue or pull request!

Setup

Want to create your own?

First, create a new repo from the template repo.

Configure GitHub Pages

Setup publishing.

Remember the branch and URL shown.

Update Workflow

You'll update the workflow file over the next few slides. You can do this right in the GitHub web page (click on the pencil icon).

.github/workflows/main.yml

BASE_URL

Set this to the domain you're using for GitHub Page (from earlier).

If you add a custom domain later, you'll need to update this.

PUBLISH_TO_BRANCH

Tell the build which branch you are using for GitHub Pages (you picked this earlier).

This is likely either main or gh-pages. Set PUBLISH_TO_BRANCH to the correct branch.

Update Workflow

Commit .github/workflows/main.yml back to dev branch.

This will kick off a build.

Check if the build succeeded

Click on Actions tab and see if the build succeeded.

Load your new web page

Any update to your site will take a few minutes to be visible. Be patient.

Create your slides

Finally, start adding your own content.

You can install and run marp-cli locally to test out the content before publishing.

Learn more about Marp

This is a good time to learn more about Marp. Here's some resources:

Example Sites

Known sites using this action are:

Send a pull request to get your site added.

Publish your slides

When you are ready to share your presentation, commit or merge to dev and your content on GitHub Pages will automatically update.

๐ŸŽ‰

Hooray!

gestion-patrimoine's People

Contributors

lvaylet avatar

Watchers

 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.