Skip to content

Commit

Permalink
docs: include align shortcut as example
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanChain committed Jan 7, 2024
1 parent ad90317 commit d9673e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ export const settingsConfig: SettingSchemaDesc[] = [
title: 'Inline shortcuts',
description:
'Configure [MathLive inline shortcuts](https://cortexjs.io/mathlive/guides/shortcuts/#inline-shortcuts).' +
'\n\nBy default, this plugin inserts `\\mathrm{Logseq}` when you type `Logseq` as an example. ' +
'\n\nBy default, this plugin inserts aligned placeholder when you type `align` as an example. ' +
"You can add your own and delete this example if you don't want it.\n\n" +
'You can also check [this discussion](https://github.com/AllanChain/logseq-live-math/discussions/14) ' +
'for more examples.',
key: 'inlineShortcuts',
type: 'object',
default: {
Logseq: '\\mathrm{Logseq}',
align: '\\begin{align*}\n#? &= #? \\\\\n #? &= #?\\end{align*}',
},
},
{
Expand Down

0 comments on commit d9673e8

Please sign in to comment.