Replies: 1 comment 2 replies
-
The id is how Quarto "guess" what kind of environment it should apply. You can always, define/use the classes manually using the full fenced div notation, but this will be more tedious than simply increment your id (simpler with digits). There is no problem to use the same id for several things, unless you start referencing those elements. Final note, don't use only the prefix, be explicit even for yourself, e.g., |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How we can avoid having to give an explicit label in the environments of definition, theorems, etc ?
Typically, we don't want to explicitly label ALL environments, except those that are important and will be referenced later.
Suppose for example we have lot of examples that will never be referenced:
Here i need to keep inventing myself names likes
exm-a
,exm-b
,exm-c
, and so on.A possible solution is to put only the prefix:
But this is creating html div tags with the same id
exm-
, a bad practice.Any idea?
Beta Was this translation helpful? Give feedback.
All reactions