markdown-it 0.6.1

Rust port of popular markdown-it.js library.
Documentation
name: gh-pages

on:
  push:
    branches: [ master ]

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
  contents: read
  pages: write
  id-token: write

# Allow one concurrent deployment
concurrency:
  group: pages
  cancel-in-progress: true

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        rust:
         - stable
    steps:
     - uses: actions/checkout@v3
     - run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh && cd demo && yarn && yarn build
     - name: Upload artifact
       uses: actions/upload-pages-artifact@v1
       with:
         path: ./demo/build

  deploy:
    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}
    runs-on: ubuntu-latest
    needs: build
    steps:
      - name: Deploy to GitHub Pages
        id: deployment
        uses: actions/deploy-pages@v1