Update README.md

This commit is contained in:
Lu Baumann 2023-10-20 03:00:46 +02:00 committed by GitHub
parent f9b82abafa
commit 722f03a651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,2 +1,30 @@
# logseq-publish-adjust-content-width # logseq-publish-adjust-content-width
A postprocessor for logseq-spa. Adjusts the width of the website content A postprocessor for logseq-spa. Adjusts the width of the website content
## Example Action
```yaml
on: [push]
permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
name: Publish Logseq graph
steps:
- uses: actions/checkout@v3
- uses: logseq/publish-spa@main
with:
version: nightly
theme-mode: dark
- name: adjust content width
uses: Surferlul/logseq-publish-adjust-content-width@main
with:
content-width: 1000px
- name: add a nojekyll file # to make sure asset paths are correctly identified
run: touch $GITHUB_WORKSPACE/www/.nojekyll
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: www
```