added a twitter preset

This commit is contained in:
Ell 2022-03-29 14:07:25 +02:00
parent 9c401f0bea
commit d48e8d888b
2 changed files with 9 additions and 0 deletions

View file

@ -18,6 +18,7 @@ By default, Custom Frames comes with a few presets that allow you to get new pan
- [Obsidian Forum](https://forum.obsidian.md/)
- [Google Keep](https://keep.google.com), optimized for a narrow pane on the side
- [Notion](https://www.notion.so/) (it's recommended to close Notion's sidebar if used as a side pane)
- [Twitter](https://twitter.com)
If you create a frame that you think other people would like, don't hesitate to create a pull request with [a new preset](https://github.com/Ellpeck/ObsidianCustomFrames/blob/master/src/settings.ts#L5).

View file

@ -29,6 +29,14 @@ export const presets: Record<string, CustomFrame> = {
hideOnMobile: true,
minimumWidth: 400,
customCss: ""
},
"twitter": {
url: "https://twitter.com",
displayName: "Twitter",
icon: "twitter",
hideOnMobile: true,
minimumWidth: 400,
customCss: ""
}
};