-
Enjoying cleaning up a lot of footnotes with the new code annotations feature (thank you!), but noticed on the few pages where I've got an unassociated ordered list following a code block, it's getting hidden when the page loads. For example: # My Docs Page
```bash
sh ./hello_world.sh
```
After running the script, complete the following steps:
1. Go to Step 2
2. Skip Step 3
3. ???
4. Profit When the page loads:
I noticed putting a new header break between the code block and the ordered list will get it to show up again, but wanted to check if there's a cleaner workaround, or formatting option I missed? (using the 8.0.3 docker image, with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Thanks for asking. It's easy to do the other way round, by explicitly marking each code block you want to include with the However, I think it's quite sensible to say that if we find no annotation at all in the code, we can leave the code block as-is. You can open a feature request if you like. |
Beta Was this translation helpful? Give feedback.
Thanks for asking. It's easy to do the other way round, by explicitly marking each code block you want to include with the
.annotate
CSS class and not enabling it globally. This is also explained in the little box in the code annotations documentation.However, I think it's quite sensible to say that if we find no annotation at all in the code, we can leave the code block as-is. You can open a feature request if you like.