tom-wolfe / brewdown

A markdown parser and stylesheet specifically for D&D homebrew

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ngAnnotate / Browserfy

LeviRosol opened this issue · comments

When using this in a project that uses ngAnnotate and browserfy, I get errors due to the ES6 syntax. Any chance you'd consider reworking things a bit so it can be used like other markdown-it plugins?

Sure thing. I'll look at adding Babel into the build to get it transpiled to ES5.

👍

Version 1.2.0 (published in npm) should fix this issue. Let me know if you have any other trouble!

Right on. I'll give it a shot in the next couple days.

I'm not sure I'll be using this though. A few weeks ago I started working on a project called GM Binder and due to some of the features in place / planned, adding new tags for stat blocks and what not may cause more work than it's worth.

honestly though, I'm torn. You've done good work here, and leveraging the power of parsing in markdown-it could be really useful like you've shown.

I completely understand! GM Binder is a much more full-featured product. The brewdown library is really at its most use if you do what I do and keep my campaign notes in a private Git repository.