mirror of
https://github.com/heyman/heynote.git
synced 2024-11-21 23:43:22 +01:00
Tweak initial buffer content
This commit is contained in:
parent
6480d214ed
commit
9b5c168b5f
@ -3,18 +3,18 @@ import { isMac } from "./detect-platform.js"
|
|||||||
const modChar = isMac ? "⌘" : "Ctrl"
|
const modChar = isMac ? "⌘" : "Ctrl"
|
||||||
const altChar = isMac ? "⌥" : "Alt "
|
const altChar = isMac ? "⌥" : "Alt "
|
||||||
|
|
||||||
export const initialContent = `
|
export const initialContent = `
|
||||||
∞∞∞text
|
∞∞∞text
|
||||||
Welcome to Heynote!
|
Welcome to Heynote! 👋
|
||||||
|
|
||||||
[${modChar} + Enter] Add new block below the current block
|
${modChar} + Enter Add new block below the current block
|
||||||
[${modChar} + Shift + Enter] Split the current block at cursor position
|
${modChar} + Shift + Enter Split the current block at cursor position
|
||||||
[${modChar} + L] Change block language
|
${modChar} + L Change block language
|
||||||
[${modChar} + Down] Goto next block
|
${modChar} + Down Goto next block
|
||||||
[${modChar} + Up] Goto previous block
|
${modChar} + Up Goto previous block
|
||||||
[${modChar} + A] Select all text in a note block. Press again to select the whole scratchpad
|
${modChar} + A Select all text in a note block. Press again to select the whole buffer
|
||||||
[${modChar} + ⌥ + Up/Down] Add additional cursor above/below
|
${modChar} + ⌥ + Up/Down Add additional cursor above/below
|
||||||
[${altChar} + Shift + F] Format block content (works for JSON, JavaScript, HTML, CSS and Markdown)
|
${altChar} + Shift + F Format block content (works for JSON, JavaScript, HTML, CSS and Markdown)
|
||||||
∞∞∞math
|
∞∞∞math
|
||||||
This is a Math block. Here, rows are evaluated as math expressions.
|
This is a Math block. Here, rows are evaluated as math expressions.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user