-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Too much indentation breaks things? #109
Comments
Here is a reproduction: NullVoxPopuli/ember-cheat-sheet#1 |
Seems this breaks, too: <GuideSection @id='generating-files' as |Section|>
<Section @id='generating-component'>
<:example>
\`\`\`bash
# -gc stands for glimmer component
ember generate component my-component -gc
# See the full set of options with:
ember generate component --help
\`\`\`
<:/example>
</Section>
<Section @id='file-structure'>
</Section>
</GuideSection> as well as <GuideSection @id='generating-files' as |Section|>
<Section @id='generating-component'>
<:example>
\`\`\`bash
# -gc stands for glimmer component
ember generate component my-component -gc
# See the full set of options with:
ember generate component --help
\`\`\`
<:/example>
</Section>
<Section @id='file-structure'>
</Section>
</GuideSection> |
omg, I had the |
still errors, tho |
ok, so this renders, but the indentation is not ideal: <GuideSection @id='generating-files' as |Section|>
<Section @id='generating-component'>
<:example>
\`\`\`bash
# -gc stands for glimmer component
ember generate component my-component -gc
# See the full set of options with:
ember generate component --help
\`\`\`
</:example>
</Section>
<Section @id='file-structure'>
</Section>
</GuideSection> but, the code block isn't converted to a highlighted codeblock |
de-denting the code-snippet gets hljs to run on it: <GuideSection @id='generating-files' as |Section|>
<Section @id='generating-component'>
<:example>
\`\`\`bash
# -gc stands for glimmer component
ember generate component my-component -gc
# See the full set of options with:
ember generate component --help
\`\`\`
</:example>
</Section>
<Section @id='file-structure'>
</Section>
</GuideSection> I guess.. there are a lot of different bugs going on here (2, I guess)
Which maybe all boils down to one core issue:
|
I'm working on making an Ember cheatsheet for folks learning ember, and I've written this "markdown" so far:
But, I get the error:
and running with
DEBUG=@docfy/*
, I get the following log:log file
Which points me at this directory:
which, reveals the following output (routes/docs.hbs):
Do we need to switch to rehype and rewrite remark-hbs for rehype?
The text was updated successfully, but these errors were encountered: