Closed kylegifford closed 5 years ago
I was looking at this myself as well. If you check out the project, two tests are failing
1) documentjs/lib/generators/html can push out dev mode static:
2) documentjs/lib/generators/html "after each" hook for "body is rendered as a mustache template prior to markdown":
Don't know if related.
I'm running into the same issue, does anyone have a fix on this yet?
@Eruedraith only a workaround. We're putting int @iframe
tags for now until this gets fixed.
Thanks for the quick response @tracer99
You are putting this into the stylesheet?
@iframe @demo /demos/typography.html
not exactly
@iframe /demos/typography.html
then at some point, if it gets fixed, just do a search and replace for @iframe
and replace with @demo
Okay that's what I figured, thank you. So for the DocumentCSS portion, there won't be any tabs for now then?
Thanks for the patience, sorry this is the first time working with Documentjs.
Yeah, not ideal, but it works.
For small global styles, we're adding the following above the @iframe
tag
* ```html
* <button class='largeBtn'></button>
* ```
Where the HTML is cut and paste from the demo.
Thanks so much @tracer99! I appreciate the workaround.
I'm looking forward to trying out the @demo
when it's fixed. :)
It has been awhile : (. I'm still waiting for the bug fixed.
hey guys sorry for the looong delay to gets this fixed. I just published 0.5.5 and it should take care of this error. Please let me know if it works for you.
I upgraded an existing DocJS site from 0.4.4 to 0.5.2. On a page with the
@demo
tag, I get the following error. This does not happen on 0.4.4.