Continuing the discussion from Birch 0.1.0 “Dev” release:
I’m not a huge fan of the way that Birch looks in the current Atom themes, but for the moment I’ve decided to just plug Birch into Atom’s theme system and focus on other things. But in the end yes, Birch is as or more them-able then FoldingText.
Yes, I’m going to post a quick example as another topic in a few minutes.
In the current version there are not commands for setting an item’s “type”. So there’s no way to distinguish h1 items from h2 items other then looking at things such as “does the item have children” or is the item “top level”… (I’ll be using those attributes in the example that I post in a few minutes).
But before too long I’ll start adding commands (it’s a very simple process) that will allow you to set a specific “type” for an item. And then you’ll be able to style that item based on the type. So for example you could set an item’s “type” to H1 and then style it bigger and bolder.
This is something that I want to do so that I can use Birch to write the users guide. My process will be:
Write documentation in Birch. Add types such as h1, h2, ordered list, unordered list, code block, etc to items. Visually my outline will still look like an outline. But I’ll add some style rules so that h1 items are bigger and bold. Code blocks have a monospace font. List items will likely have a bullet drag handle instead of an arrow.
When I’m ready I’ll generate Markdown from that outline.
And then generate HTML from the Markdown. So my final document will be normal HTML with H1’s etc, though I’ll do all my authoring and editing in Birch.
As I build that in I’ll share those commands with the group here.
Not directly. It will certainly be possible to recreate, but will need different LESS rules.