Skip to content

Instantly share code, notes, and snippets.

@AlexJFox
Created November 28, 2024 13:59
Show Gist options
  • Save AlexJFox/96787d0c4c412c90fe534d1ccb5843dc to your computer and use it in GitHub Desktop.
Save AlexJFox/96787d0c4c412c90fe534d1ccb5843dc to your computer and use it in GitHub Desktop.
Flare Autonumbering
h1:first-of-type
{
mc-auto-number-format: '{Gn=1}. ';
}
h1
{
mc-auto-number-format: '{Gn+}. ';
}
h2:first-of-type
{
mc-auto-number-format: '{Gn}.{Gn=1}. ';
}
h2
{
mc-auto-number-format: '{Gn}.{Gn+}. ';
}
h3:first-of-type
{
mc-auto-number-format: '{Gn}.{Gn}.{Gn=1}. ';
}
h3
{
mc-auto-number-format: '{Gn}.{Gn}.{Gn+}. ';
}
h4:first-of-type
{
mc-auto-number-format: '{Gn}.{Gn}.{Gn}.{Gn=1}. ';
}
h4
{
mc-auto-number-format: '{Gn}.{Gn}.{Gn}.{Gn+}. ';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment