Skip to content

Instantly share code, notes, and snippets.

@elasticthreads
Created February 27, 2012 19:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elasticthreads/1926454 to your computer and use it in GitHub Desktop.
Save elasticthreads/1926454 to your computer and use it in GitHub Desktop.
nvALT 2.2 beta release teaser
# nvalt 2.2 public beta release notes:
- Requires Leopard & intel procssors now (we had tried previously to support Tiger/PPC, but neither Brett or I have access to either). Also, Leopard is getting increasingly harder to support. If your intel mac runs Leopard, it will run Snow Leopard; and it will run faster on 10.6, and will have more free space. There's really no reason for you to keep an intel mac on Leopard. So it is likely we'll move the minimum OS to Snow Leopard at some time in the next year. At which point we'll stop cutting off support for older OSes so frequently.
### Bug fixes and improvements for 10.5 - 10.7
- Added some initial, optional, markdown auto-completion/syntax tricks (see below).
- Improved auto-pairing
- The "Keep note text width readable" (in Preferences >> "Fonts & Colors") is significantly improved; much less janky. (still needs to be renamed.)
- Hitting cmd-return moves the cursor to the end of your current paragraph, and then inserts a new line (like TextMate).
- Hitting cmd-shift-return moves the cursor to the start of your current paragraph.
- Re-jiggered the (optional) menu bar icon/menu. clicking on the icon will hide/show nvALT's window (even if you cmd-w/click on the red stop ligh to close the window, you can click the menu bar icon to bring back the window). Right-clicking/control-clicking the menu bar icon will drop down a contextual menu of useful commands.
- The plus buttons in Prefs>>Notes>>Storage are back
- Visual fixes to the location bar
- Improved German Localization
- Fixed text rendering bug
- Added "Use Selection for Find" and "Jump to Selection" to the "Find…" menu (which is in the Edit menu).
### Lion compatibility features and bug fixes
- Lion full screen mode
- Find… and Replace… features fixed. On Lion, implements the new in line (Safari style) Find bar.
- Better compatibility with Lion scrollers. (There's also a preference setting, in the needs-to-be-renamed Fonts & Colors section, to re-enable nvALT's old custom scrollers in Lion. Useful if you like always seeing the scrollbar as a measure of the length of a note, and your position within the text).
- Elastic scrolling.
### Markdown auto-completion/syntax tricks
- note: Unless otherwise noted, you have to "Enabled Markdown Completion" in the Preview menu (cmd-shift-m to toggle) for the following to work.
- Cmd > adds a ">" to the start of your current paragraph (i.e. increases quote level)
- Cmd < removes a ">" from the start of your current paragraph (i.e. decreases quote level)
- Cmd + adds a "#" to the start of your current paragraph (i.e. increases header level)
- Cmd - removes a "#" from the start of your current paragraph (i.e. decreases header level)
- Cmd B Works exactly like bolding/unbolding text, except that it uses **strong emphasis** instead of BOLDed font. Will wrap/unwrap/rewrap selected text. Will insert **** and put your cursor in the middle if no text is selected.
- Cmd I Same as with Cmd B, except uses *emphasis* instead of **strong emphasis**
- Link syntax completion. A bit harder to describe. Easier to play around with and see. Basically, you can use the tab key to have nvALT autocomplete some of the syntax around Markdown links. It does 3 main things, I'll explain by telling you 3 things to test out in a note in nvALT somewhere:
> 1. Create a new line. Type "[1]" (or just "[1", if you have auto-pairing turned on). Hit the tab key. nvALT will turn "[1]" into "[1]: http://", and select "http://". Hit the tab key again to deselect and move the cursor to the end of the line. Type "google.com". You should now have a reference-style link of "[1]: http://google.com"
> 2. Elsewhere in the same note, add some random text so you have an opportunity to now use the reference link we just created. In that paragraph of random text type "[Google]" (or just "[Google" if you use auto-pairing). Now hit tab. nvALT will insert "[]" and put your cursor in the middle. Now type "1". You've now referenced the link from above.
> 3. Move your cursor elsewhere in that same paragraph of random text so you can create an inline-style link. Type "[Googs]" and hit shift-tab. nvALT will add "(http://)" and select "http://". Hit tab or shift-tab again and nvALT will deselect and move the cursor after the "http://" and before the ")". Type "google.com". Now you've got an inline link.
### Markdown Link Pasting
- (Does not require the use of the "Enable Markdown Completion" menu item).
- If you have a URL (and only the URL) on your clipboard, you can hit cmd-option-v (or use "Paste Markdown Link" in the Edit menu) to, yes, paste the URL on your clipboard as a markdown link. nvALT can tell if the cursor is on a new paragraph (and assumes you want to use a reference-style link) or an existing paragraph of text (and assumes you want to use an inline-style link).
- This feature will also paste "around" selected text, using any text you've selected before using the "Paste Markdown Link" command as either the link text (for inline style links) or the reference link name (for reference links). So if you select all the text in a paragraph and Paste Markdown Link, nvALT will use the paragraph as the reference name, wrap it in "[]" and add ": http://the.link.com". Play around with this. Much easier to see how it works, than explain it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment