Skip to content

Instantly share code, notes, and snippets.

@somelinguist
somelinguist / flextools.sh
Last active April 30, 2024 22:36
attempt flextools compatibility with flatpak
#!/bin/bash
# Be sure to set execute permission for the script.
# Configure how to call python here:
CALLPYTHON=python
# Configure the prefix to the path where FieldWorks is installed.
# /usr is the default for installing via the apt package manager on Ubuntu:
# /app is the default for flatpak
prefix=/app
@somelinguist
somelinguist / test-pandoc-reveal-marked.md
Created May 25, 2023 16:50
Test previewing slide shows with Marked 2 and Pandoc

Custom Processor: [true, "-s", "-t", "revealjs", "--embed-resources"] title: Test slides author: me lang: en-US width: 1600 height: 900 navigationMode: linear transition: none theme: white

// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: red; icon-glyph: check;
// Call widget creating function
let widget = await createWidget()
if (!config.runsInWidget) {
await widget.presentMedium()
}