Skip to content

mheap/markdown-meta-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Markdown Meta

Read front-matter from Markdown files

Usage

name: Markdown Meta
on: push
jobs:
  markdown-meta:
    name: Markdown Meta
    runs-on: ubuntu-latest
    steps:
      - name: Markdown Meta
        uses: mheap/markdown-meta-action@v1
        id: meta
        with:
          file: ./my-post.md
      - name: Use the value
        run: echo "${{ steps.meta.output.title }}"

Available Configuration

Inputs

Name Description
file The markdown file to parse