Skip to content

Releases

Plotdown 1.0.1

Choose a tag to compare

@github-actions github-actions released this 12 Nov 22:52

Plotdown 1.0.1: renders plot, oplot and observable-plot code blocks as Observable Plot charts.

Obsidian: install it with BRAT (devlooped/plotdown), or copy main.js, manifest.json and styles.css into <vault>/.obsidian/plugins/plotdown/. See https://plotdown.cc/recipes/obsidian/.

Browser extension: plotdown-chrome-1.0.1.zip is the package of the Chrome Web Store and Edge Add-ons, plotdown-firefox-1.0.1.zip the one of Firefox Add-ons, and plotdown-source-1.0.1.zip the source Firefox Add-ons reviews it against.

Sponsors

The following sponsors made this release possible: @clarius, @MFB-Technologies-Inc, @sandrock, @drivenet, @Keflon, @tbolon, @rbnswartz, @jfoshee, @Mrxx99, @eajhnsn1, @Jonathan-Hickey, @KenBonny, @SimonCropp, @agileworks-eu, @arsdragonfly, @vezel-dev, @ChilliCream, @4OTC, @DominicSchell, @adalon, @torutek, @mccaffers, @SeikaLogiciel, @wizardness, @eska-gmbh, @geodata-no, @Roebbek-Capital, @schueco.

Thanks 💜

v1.0.0

Choose a tag to compare

@kzu kzu released this 12 Nov 22:01

The first release of the plotdown action on the GitHub Marketplace.

plotdown renders the ```plot blocks of Markdown files (Observable Plot specs in JSON) as SVG images, and puts each image right after its block, so the charts show on GitHub, npm and any other place that renders Markdown but no scripts.

Usage

# .github/workflows/plots.yml
on:
  push:
    branches: [main]
permissions:
  contents: write
jobs:
  plots:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: devlooped/plotdown@v1
        with:
          files: "**/*.md"
          commit: true

For pull requests, check: true changes nothing and fails when an image is missing or out of date.

Inputs

Input Default
files **/*.md Files or globs, separated by spaces or new lines
out docs/plots Where the SVG files go
theme auto auto (the reader's color scheme), light or dark
check false Change nothing, and fail when an image is missing or out of date
commit false Commit and push the changes (needs contents: write)
commit-message Render plot blocks The message of that commit
version A version of @devlooped/plotdown on npm; empty builds plotdown from the action's own source

Outputs

Output
changed Whether the run changed files (with check, whether it would)

See the readme and plotdown.cc for more.

Plotdown for Obsidian 0.1.0

Choose a tag to compare

@devlooped-bot devlooped-bot released this 12 Nov 20:50

Plotdown for Obsidian 0.1.0: renders plot, oplot and observable-plot code blocks as Observable Plot charts. Install it with BRAT (devlooped/plotdown), or copy main.js, manifest.json and styles.css into <vault>/.obsidian/plugins/plotdown/. See https://plotdown.cc/recipes/obsidian/.

Sponsors

The following sponsors made this release possible: @clarius, @MFB-Technologies-Inc, @sandrock, @drivenet, @Keflon, @tbolon, @rbnswartz, @jfoshee, @Mrxx99, @eajhnsn1, @Jonathan-Hickey, @KenBonny, @SimonCropp, @agileworks-eu, @arsdragonfly, @vezel-dev, @ChilliCream, @4OTC, @DominicSchell, @adalon, @torutek, @mccaffers, @SeikaLogiciel, @wizardness, @eska-gmbh, @geodata-no, @Roebbek-Capital, @schueco.

Thanks 💜