github

plibither8 / markdown-new-tab

  • четверг, 12 июля 2018 г. в 09:10:13
https://github.com/plibither8/markdown-new-tab

JavaScript
Google Chrome Extension — 🗒️ ⏰ ☑️ Take down notes, save reminders, paste links, create checklists or tables with markdown [M↓] directly in your 'New Tab' page



Markdown New Tab

Build Status Chrome Webstore Version Chrome Webstore Users Licence

Made_with_love_in India

Take down notes 🗒️, save reminders , paste links 🔗, create checklists ☑️ or tables, all using markdown... directly in your 'New Tab' page! Markdown New Tab is a replacement for the default 'New Tab' page on Google Chrome 🆕 🎉.

Get it on the Chrome Webstore

Demo GIF

About

Markdown New Tab allows you to take down important notes, thoughts or anything else you need to jot down or paste quickly, directly into your New Tab page... via the markdown syntax.

Markdown will allow you to easily create headings, subheadings, links, styled texts, checkboxes, tables, lists, images and much more... just by a simple syntax. To get the hang of it, check this brilliant cheat sheat

Markdown New Tab is complete with the ability to store revisions of the markdown content you made, so if you ever need to look back at previous versions of your content, check the revision history!

Development

  1. Clone this repo:
$ git clone https://github.com/plibither8/markdown-new-tab
  1. Open Chrome and go to chrome://extensions
  2. Enable 'Developer Mode' by checking the tickbox (on the top of the page).
  3. Click the 'Load Unpacked Extension' button and select the dist/ folder of the cloned repository.
  4. The extension should be loaded now and the 'New Tab' page should be Markdown New Tab. 🎉

Testing in Firefox

In Firefox the extension can be installed temporarily until you restart the browser. To do so:

  1. enter "about:debugging" in the URL bar
  2. click "Load Temporary Add-on"
  3. open the extension's directory in your local repo and select dist/manifest.json More info here.

Usage

You can edit and save the texts either by pressing the buttons on the top right, or by using the shortcuts Ctrl + X (or Cmd + X on Mac) to edit the text and Ctrl + S (or Cmd + S on Mac) to save the text.

The code makes use of localStorage() to save the raw text and the time and date of when the edit has been made.

To do

  • Enable user to change colors/add themes
  • Implement user-defined markdown rendering
  • Other gimmicks to make it less minimalistic (?)

License

Copyright (c) Mihir Chaturvedi. All rights reserved.

Licensed under the MIT License.