btford / btford/angular-markdown-directive
Option to strip leading whitespace?
- Dominant language
- JavaScript
- Stars
- 564
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
I am really loving this directive because it can greatly help me clean up my HTML for some documentation that I am writing! However, it makes me write funny HTML and I was hoping there was a way to get around this.
Since markdown supports code blocks by indenting with 4 spaces, I cannot easily achieve the following because of the leading whitespace:
```
* Some
* List
* Here
```
I instead have to write my HTML like the following which is a tad bit ugly:
```
* Some
* List
* Here
```
Is there an option to strip the leading whitespace (perhaps based on the first line's amount of whitespace) so that we can more easily use this inline in our HTML?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.