Skip to content

Instantly share code, notes, and snippets.

@fu-sen
Last active February 11, 2023 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fu-sen/91d0e0c5d1d2783f5448d571a526ef9a to your computer and use it in GitHub Desktop.
Save fu-sen/91d0e0c5d1d2783f5448d571a526ef9a to your computer and use it in GitHub Desktop.
Misskey: Button to post a fixed note on Misskey Play | Misskey Play 固定ノート(投稿)ボタン
// CC0 1.0 https://creativecommons.org/publicdomain/zero/1.0/deed
let result = `test`
Ui:render([
Ui:C:container({
children: [
Ui:C:mfm({ text: result })
Ui:C:postFormButton({
text: "Note"
rounded: true
primary: true
form: {
text: `{result}`
}
})
]
})
])
@fu-sen
Copy link
Author

fu-sen commented Feb 11, 2023

Misskey Play で固定ノート(投稿)ボタンを作成する
https://misskey.io/notes/9asz3xcyaz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment