GithubHelp home page GithubHelp logo

neur0manc / sublime-notedown Goto Github PK

View Code? Open in Web Editor NEW

This project forked from darryllawson/sublime-notedown

0.0 0.0 0.0 32 KB

Sublime Text package that helps you manage a collection of notes stored as Markdown files

License: MIT License

Python 100.00%

sublime-notedown's Introduction

Notedown for Sublime Text

The Notedown package helps you use Sublime Text for keeping notes stored as Markdown files.

Sublime Text, with its built-in Markdown support, is pretty good at managing notes. But it lacks one key feature: linking between notes.

Notedown fills this gap. It lets you to link to another note with

[[Note title]]

Follow a link with Ctrl + Alt + Left Mouse Button or by positioning the cursor then pressing Ctrl + Alt + O or selecting Notedown: Open from the command palette.

Features

Features provided by Notedown:

  • Link to another note with [[Note title]].
  • Note title auto-completion. Type [[ and you're shown a list of notes you can link to.
  • Note renaming. Change the Markdown heading and the note file is automatically renamed to match and all backlinks are updated.
  • Open a URL conforming to the Markdown syntax with the same shortcuts you use for opening a note.
  • Create a new note by attempting to open a link to a note that does not exist.
  • Note link validation. On save, you'll be shown a list of broken note links.

Note keeping features built into Sublime Text:

  • Search for a note with Goto Anything (Command + P or Ctrl + P).
  • Goto a heading within a note with Goto Symbol (Command + R or Ctrl + R).

Note filenames and titles

A note has one or more titles defined by its file name:

<title>.md
<title> ~ <title>.md

The tilde character (~) is used to separate multiple note titles. <title> must not contain tilde characters.

Any Markdown file extension (.md, .mdown, .markdown, or .markdn) can be used.

Note links

Note link syntax:

[[<title>]]

For example, all of the following links,

[[Foo]]
[[Bar]]
[[Goo]]

link to the same file:

Foo ~ Bar ~ Goo.md

Links within raw markup are ignored. For example:

`[[This]] is a not link.`

Commands

Notedown provides these Sublime Text commands:

  • notedown_open: Open the link under the cursor or mouse selection.

    • Default mouse map: Ctrl + Alt + Left Mouse Button
    • Default keyboard map: Ctrl + Alt + O
  • notedown_lint: Lints the current note. Runs automatically when a note is saved.

Settings

Notedown looks for settings in Notedown.sublime-settings.

Notedown supports these settings:

  • markdown_extension: The file extension used when creating new notes. This should not include a leading period (.). If not defined, md is used. Example: "markdown_extension": "markdown".

  • note_folder_patterns: Defines which folders contain notes compatible with Notedown. The folder patterns (which may use wildcards compatible with fnmatch) are matched against the name of a Markdown file's containing folder to determine if the file should be considered a note. If not defined or an empty list, then all Markdown files are considered to be notes. Example: "note_folder_patterns": ["Notes"].

sublime-notedown's People

Contributors

darryllawson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.