Skip to content

Conversation

@PaulBernier
Copy link
Contributor

Redo of #32


##### Theme
* `theme`: a string that can be any of these options: `['dark']`. Look at [`src/style.less`](src/style.less) for making new themes.
#### `openAtDepth([depth])`
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add an example for this?

something like:

const f = new Formatter({ ... });
document.body.appendChild(f.render())
f.openAtDepth(2)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added an example to the README

@mohsen1
Copy link
Owner

mohsen1 commented Oct 12, 2016

You can push to this branch, you don't have to create new pull requests.

@mohsen1 mohsen1 merged commit e5ab17b into mohsen1:master Oct 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants