Open docs/index.html for installation instructions and API docs. I think must open in Chrome or links don’t work because files don’t have extensions .
The birch-outline-editor folder contains the Birch outliner package that needs to be installed into Atom as describe in the docs.
The Birch.bml file contains background and basic instructions for using the outliner. Open it in Atom once you’ve installed the Birch package and it should open as an outline.
This release makes a bunch of changes to the runtime DOM that make things more flexible going forward. As part of those changes it introduces a “Badges” UI concept. Badges are a place to display and interact with item attributes.
I’ve created a few inprogress/nonfinal/maybe/removed examples to help you get the idea. These all could have been deployed as separate atom packages (they are created with public birch API), but I’ve embedded them for now since updating atom packages is a pain until they are published to the atom package repo. If you want to see the code for these badges look into birch-outline-editor/packages.
Now (in item mode) if you press any of the 1-7 number keys the selected items will get a data-priority attribute set. There’s also a badge renderer for that attribute setup, so you should also see a small color badge applied to the end of the item.
I’ve also added three “status” commands. (replacing the previous “done” command) In item mode “s a” to set item active, “s c” to set item complete, and “s w” to set item waiting. Also just Spacebar to toggle complete. These commands all set the data-status attribute, and again there’s a badge renderer setup for that attribute that will render a badge in those cases.
There’s also a badge renderer setup for the data-tags attribute. That attribute should be set to a list of comma separated tag names, and you should see them rendered.
I haven’t had time to make any of the badges interactive yet, but that’s the idea going forward. For example clicking on a “tag” badge should filter the list by that tag. Or clicking on a “due data” badge should open a datetime widget allowing you to adjust the date, etc. They are intended to be mini UI’s for viewing and interacting with item attributes.
Yeah, in the end I think so. Though right now I haven’t been thinking to deeply about how all the different command shortcuts work together. Eventually I’d like to create some sort of system with some logic and pattern to it. Then I’ll see exactly which VIM commands fit in.
Thanks, I can reproduce this and will try to get it fixed for next release.
At Cannot find module 'to-markdown'
Error: Cannot find module 'to-markdown'
at Module._resolveFilename (module.js:351:15)
at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app/src/module-cache.js:383:52)
at Function.Module._load (module.js:293:25)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (/Users/xxxxx/.atom/packages/birch-markdown-master/lib/birch-to-markdown.coffee:4:16)
at Object.<anonymous> (/Users/xxxxx/.atom/packages/birch-markdown-master/lib/birch-to-markdown.coffee:123:4)
at Module._compile (module.js:475:26)
at Object.requireCoffeeScript (/Applications/Atom.app/Contents/Resources/app/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
at Module.load (module.js:370:32)
I’ve fixed this for the next release. In the meantime, the problem was that the editor lost focus. So you can work around the problem by hitting “Tab” key to regain focus. The things should work normally.
I don’t think you need xcode, instead as @complexpoint says I think the problem is that you have an old version of birch-markdown installed. One thing you can do to get things working quickly I think is to just disable birch-markdown:
Atom > Preferences > Packages > Birch Markdown > Disable
Then View > Reload Atom and I think things should work. Then if you want to play with birch-markdown stuff again you’ll need to install the latest version then reenable the package.
I added this in the current release, though no breadcrumb. Any breadcrumb style that I tried dominated the focused content more then I wanted. I guess try this out and see how it works for you. Possibilities going forward:
Maybe Command-Click on un-hoist arrow pops up containment list like in OS X Finder window?
Maybe a more complete breadcrumb could display in the Atom status bar?
The Command-Click option seems like it could work quite well: simple on the surface, but with more power behind a modifier key. I have less of a sense of whether displaying breadcrumb info in the status bar would be helpful.