diff --git a/package.json b/package.json index 3f00e09..db06ba8 100644 --- a/package.json +++ b/package.json @@ -19,15 +19,15 @@ }, "dependencies": { "eslint": "^8.27.0", - "gulp": "^4.0.2", - "gulp-cli": "^2.3.0", + "gulp": "^5.0.0", + "gulp-cli": "^3.0.0", "gulp-ext-replace": "^0.3.0", "gulp-htmlclean": "^2.7.22", "gulp-htmlmin": "^5.0.1", "gulp-minify-css": "^1.2.4", "gulp-postcss": "^9.0.1", "gulp-uglify-es": "^3.0.0", - "gulp-version-number": "^0.2.4", + "gulp-version-number": "^0.1.6", "hexo": "^5.4.0", "hexo-browsersync": "^0.3.0", "hexo-cli": "^4.3.0", @@ -39,7 +39,7 @@ "hexo-pagination": "^2.0.0", "hexo-related-popular-posts": "^5.0.1", "hexo-renderer-ejs": "^2.0.0", - "hexo-renderer-markdown-it": "^5.0.0", + "hexo-renderer-markdown-it": "^7.1.1", "hexo-renderer-stylus": "^2.0.1", "hexo-server": "^2.0.0", "markdown-it-abbr": "^1.0.4", @@ -60,7 +60,7 @@ "devDependencies": { "autoprefixer": "^10.4.0", "gulp-clean-css": "^4.3.0", - "gulp-filesize": "^0.0.6", + "gulp-filesize": "^0.0.1", "gulp-javascript-obfuscator": "^1.1.6", "gulp-replace": "^1.1.3", "gulp-rev": "^9.0.0", diff --git a/source/_posts/notion.md b/source/_posts/notion.md new file mode 100644 index 0000000..0cbe628 --- /dev/null +++ b/source/_posts/notion.md @@ -0,0 +1,197 @@ +--- +title: Notion Shortcuts +date: 2025-04-24 12:51:00 # You might want to adjust this date +background: bg-gradient-to-l from-gray-400 to-gray-600 hover:from-blue-500 hover:to-purple-500 # Notion-like gradient, adjust as desired +tags: + - notion + - keyboard + - shortcuts + - productivity + - reference +categories: + - Productivity + - Software +intro: + A comprehensive quick reference guide for Notion keyboard shortcuts on Desktop and Web, designed to boost your productivity. +plugins: + - copyCode +--- + +# Notion Keyboard Shortcuts {.cols-3} + +## Most Popular / Essential {.col-span-3} + +### Create & Navigate +| Action | Mac Shortcut | Windows/Linux Shortcut | +| :--------------------------- | :------------------------ | :----------------------- | +| Create a new page | `Cmd` `N` | `Ctrl` `N` | +| Open new Notion window | `Cmd` `Shift` `N` | `Ctrl` `Shift` `N` | +| Quick Find (Search) | `Cmd` `P` | `Ctrl` `P` | +| Go back in page history | `Cmd` `[` | `Ctrl` `[` | +| Go forward in page history | `Cmd` `]` | `Ctrl` `]` | +| Go to parent page | `Cmd` `Shift` `U` | `Ctrl` `Shift` `U` | +| Open Page Link in New Tab | `Cmd` `Click` | `Ctrl` `Click` | +| Open Page Link in New Window | `Option` `Shift` `Click` | `Alt` `Shift` `Click` | +{.show-header .shortcuts} + +### View & Mode +| Action | Mac Shortcut | Windows/Linux Shortcut | +| :--------------------------- | :------------------------ | :----------------------- | +| Toggle Dark/Light Mode | `Cmd` `Shift` `L` | `Ctrl` `Shift` `L` | +| Lock/Unlock current page | `Cmd` `Shift` `L` (Hold) | `Ctrl` `Shift` `L` (Hold)| +| Zoom In | `Cmd` `+` | `Ctrl` `+` | +| Zoom Out | `Cmd` `-` | `Ctrl` `-` | +| Reset Zoom | `Cmd` `0` | `Ctrl` `0` | +{.show-header .shortcuts} + +--- + +# Markdown Style Formatting {.cols-1} + +### On New Lines +Type the following at the beginning of an empty line, then press `Space`: + +* `*`, `-`, or `+` : Bulleted list +* `[]` : To-do checkbox (Note: just the characters, no `Cmd`/`Ctrl`) +* `1.` : Numbered list +* `#` : H1 heading +* `##` : H2 heading +* `###` : H3 heading +* `>` : Toggle list +* `"` : Quote block +* `---` : Divider (three hyphens) +* ```` ```` : Code block (three backticks) + +### Inline +* Wrap text with `**` or `__` for **Bold**. +* Wrap text with `*` or `_` for *Italics*. +* Wrap text with `~` for ~~Strikethrough~~. +* Wrap text with `` ` `` for `inline code`. + +--- + +# Text Formatting & Editing {.cols-2} + +### Basic Formatting +Select text first, then use the shortcut: +| Action | Mac Shortcut | Windows/Linux Shortcut | +| :------------------------- | :------------------------ | :----------------------- | +| Bold | `Cmd` `B` | `Ctrl` `B` | +| Italic | `Cmd` `I` | `Ctrl` `I` | +| Underline | `Cmd` `U` | `Ctrl` `U` | +| Strikethrough | `Cmd` `Shift` `S` | `Ctrl` `Shift` `S` | +| Inline Code | `Cmd` `E` | `Ctrl` `E` | +| Create Link | `Cmd` `K` | `Ctrl` `K` | +| Change Color / Highlight | `Cmd` `Shift` `H` | `Ctrl` `Shift` `H` | +| Clear Formatting | `Cmd` `\` | `Ctrl` `\` | +{.show-header .shortcuts} + +### Block Type Conversion +Select the block(s) first, then use the shortcut: +| Action | Mac Shortcut | Windows/Linux Shortcut | +| :------------------------- | :------------------------ | :----------------------- | +| Turn into Text block | `Cmd` `Option` `0` | `Ctrl` `Alt` `0` | +| Turn into H1 Heading | `Cmd` `Option` `1` | `Ctrl` `Alt` `1` | +| Turn into H2 Heading | `Cmd` `Option` `2` | `Ctrl` `Alt` `2` | +| Turn into H3 Heading | `Cmd` `Option` `3` | `Ctrl` `Alt` `3` | +| Turn into To-do list | `Cmd` `Option` `4` | `Ctrl` `Alt` `4` | +| Turn into Bulleted list | `Cmd` `Option` `5` | `Ctrl` `Alt` `5` | +| Turn into Numbered list | `Cmd` `Option` `6` | `Ctrl` `Alt` `6` | +| Turn into Toggle list | `Cmd` `Option` `7` | `Ctrl` `Alt` `7` | +| Turn into Code block | `Cmd` `Option` `8` | `Ctrl` `Alt` `8` | +| Turn into Page | `Cmd` `Option` `9` | `Ctrl` `Alt` `9` | +| Turn into Callout | `Cmd` `Option` `C` | `Ctrl` `Alt` `C` | +{.show-header .shortcuts} + +### Editing +| Action | Mac Shortcut | Windows/Linux Shortcut | +| :------------------------- | :------------------------ | :----------------------- | +| New Line within same block | `Shift` `Enter` | `Shift` `Enter` | +{.show-header .shortcuts} + +--- + +# Creating & Modifying Blocks {.cols-2} + +### Creation & Selection +| Action | Mac Shortcut | Windows/Linux Shortcut | +| :------------------------------------------ | :------------------------------- | :------------------------------ | +| Create new text block below | `Enter` | `Enter` | +| Open the `/` command menu | `/` | `/` | +| Select current block | `Esc` | `Esc` | +| Select parent block | `Shift` `Esc` | `Shift` `Esc` | +| Select block above/below | `Up` / `Down` | `Up` / `Down` | +| Select multiple blocks | `Shift` `Up`/`Down` | `Shift` `Up`/`Down` | +| Select all blocks | `Cmd` `A` | `Ctrl` `A` | +| Edit selected block (or text within block) | `Enter` | `Enter` | +{.show-header .shortcuts} + + +### Moving & Structuring +| Action | Mac Shortcut | Windows/Linux Shortcut | +| :------------------------------------------ | :------------------------------- | :------------------------------ | +| Duplicate selected block(s) | `Cmd` `D` | `Ctrl` `D` | +| Move selected block(s) up/down | `Cmd` `Shift` `Up`/`Down` | `Ctrl` `Shift` `Up`/`Down` | +| Indent block (nest) | `Tab` | `Tab` | +| Un-indent block | `Shift` `Tab` | `Shift` `Tab` | +| Expand/Collapse toggle list | `Cmd` `Option` `T` | `Ctrl` `Alt` `T` | +| Expand/Collapse all toggles | `Cmd` `Option` `Shift` `T` | `Ctrl` `Alt` `Shift` `T` | +| Open page from selected link/page block | `Cmd` `Enter` | `Ctrl` `Enter` | +| Delete selected block(s) | `Delete` or `Backspace` | `Delete` or `Backspace` | +| Turn block into a page | `Cmd` `Option` `9` | `Ctrl` `Alt` `9` | +| Move block(s) to another page | `Cmd` `Option` `Shift` `M` | `Ctrl` `Alt` `Shift` `M` | +{.show-header .shortcuts} + +--- + +# Comments & Mentions {.cols-2} + +### Comments +| Action | Mac Shortcut | Windows/Linux Shortcut | +| :------------------------- | :------------------------ | :----------------------- | +| Add comment to selection | `Cmd` `Shift` `M` | `Ctrl` `Shift` `M` | +{.show-header .shortcuts} + +### Mentions & Links (Type in block) +* `@` + person's name: Mention a person +* `@` + page title: Mention/link a page +* `[[` + page title: Link another page +* `+` + page title: Link another page (alternative) +* `@` + date (e.g., `@today`, `@next tuesday`, `@1/15`): Add a date mention +* `@remind` + date + time (optional): Set a reminder + +### Emoji +| Action | Mac Shortcut | Windows/Linux Shortcut | +| :------------------------- | :------------------------ | :----------------------- | +| Emoji Picker (System) | `Cmd` `Ctrl` `Space` | `Win` `.` or `Win` `;` | +| Emoji Picker (Notion) | `:` + emoji name + `:` | `:` + emoji name + `:` | +{.show-header .shortcuts} + +--- + +# Database Shortcuts {.cols-2} + +### Navigation & Selection +| Action | Mac Shortcut | Windows/Linux Shortcut | +| :---------------------------------------- | :--------------------- | :---------------------- | +| Select row above/below | `Shift` `Up`/`Down` | `Shift` `Up`/`Down` | +| Open selected page(s) | `Cmd` `Enter` | `Ctrl` `Enter` | +| Edit property | `Enter` | `Enter` | +| Move to cell above/below | `Shift` `Enter` | `Shift` `Enter` | +| Move to cell left/right | `Tab` / `Shift` `Tab` | `Tab` / `Shift` `Tab` | +| Select column | `Cmd` `Shift` `K` | `Ctrl` `Shift` `K` | +| Select multiple cards/rows | `Shift` `Click` | `Shift` `Click` | +{.show-header .shortcuts} + +### Other +| Action | Mac Shortcut | Windows/Linux Shortcut | +| :---------------------------------------- | :--------------------- | :---------------------- | +| Quick Find within Database | `Cmd` `Shift` `P` | `Ctrl` `Shift` `P` | +{.show-header .shortcuts} + +--- + +## Also see + +- [Official Notion Keyboard Shortcuts](https://www.notion.so/help/keyboard-shortcuts) + _(notion.so)_