From d5232a1b0e70a7a39403039fb427e2e14005a225 Mon Sep 17 00:00:00 2001 From: Kazu Yokomizo Date: Sat, 11 Nov 2017 12:21:27 +0900 Subject: [PATCH] Change default markdown content --- browser/main/modals/InitModal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/main/modals/InitModal.js b/browser/main/modals/InitModal.js index c5a308e3..56deb2e6 100644 --- a/browser/main/modals/InitModal.js +++ b/browser/main/modals/InitModal.js @@ -151,8 +151,8 @@ class InitModal extends React.Component { .createNote(data.storage.key, { type: 'MARKDOWN_NOTE', folder: data.storage.folders[0].key, - title: 'Welcome to Boostnote!', - content: '# Welcome to Boostnote! \n### _Click to edit this note._\n\n---\n\nBoostnote is an *open source* note-taking app. \nRepository is published on [GitHub](https://github.com/BoostIO/Boostnote), and tweeting everyday on [@Boostnoteapp](https://twitter.com/boostnoteapp)!\n\n## Features \n- [x] No internet or registration required. \n- [ ] Quick search and copy the content of note. macOS: Cmd + Alt + S / windows: Ctrl + Alt + S \n- [ ] Markdown & Snippet note. \n- [ ] Available for `vim` and `emacs` mode. \n- [ ] Choose your favorite theme on UI, Editor and Code Block! \n--- \n\n- Copy Codeblock on Markdown Preview.\n```javascript\nvar boostnote = document.getElementById(\'enjoy\').innerHTML\n\nconsole.log(boostnote)\n```' + title: 'Markdown Cheat Sheet', + content: '# Markdown Cheat Sheet / Click here\n# 1. Heading\n## h2\n### h3\nStandard\n\n# 2. Emphasis\n*Italic type*\n**Bold**\n~~Negative~~\n\n# 3. List\n- List 1\n- List 2\n- List 3\n\n# 4. Check box\n- [x] Task 1\n- [ ] Task 2\n\n# 5. Source code\n```js\nRender: function () {\nReturn (\n
\n

Comments \n\n\n

\n);\n}\n```\n\n# 6. Link\n- [Boostnote Repository](https://github.com/BoostIO/Boostnote)\n- [Boostnote Blog](https://medium.com/boostnote)\n\n# 7. Quotation\n> Quotation\n> Quotation Quotation\n\n# 8. Table\n| Fruits | Price |\n|:--|:--|\n| Apple | 1$ |\n| Grapes | 4$ |\n| Orange | 2$ |\n\n# 9. Horizontal line\n* * *\n***\n---\n\n# 10. Image\n![Image title](https://boostnote.io/assets/img/logo.png)\n\n# 11. Fold\n
Boostnote is a notepad corresponding to markdown notation, which is a tool for organizing and sharing information.\n- Features -
\n· Search function to find memos in one shot\n· Supports markdown notation
\n· Support for Mac, Windows, Linux, iOS, Android
\n· Export and import to Plain text (.txt), Markdown (.md) format
\n· Supports PDF saving
\n· Can be used offline
\n· Synchronize to dropbox etc. with setting
\n· Supports theme colors and numerous fonts
\n
\n\n# 12. Latex\n$$$\n\mathrm{e}^{\mathrm{i}\theta} = \cos(\theta) + \mathrm{i}\sin(\theta)\n$$$\n\n# 13. Flowchart\n```flowchart\nst=>start: Start:>http://www.google.com[blank]\ne=>end:>http://www.google.com\nop1=>operation: My Operation\nsub1=>subroutine: My Subroutine\ncond=>condition: Yes or No?:>http://www.google.com\nio=>inputoutput: catch something…\nst->op1->cond\ncond(yes)->io->e\ncond(no)->sub1(right)->op1\n```\n\n# 14. Sequence\n```sequence\nTitle: Here is a title\nA-> B: Normal line\nB -> C: Dashed line\nC -> D: Open arrow\nD -> A: Dashed open arrow\n```\n\n# 15. Ketboard\nCtrl + Shift + i' }) .then((note) => { store.dispatch({