toc entries - anchor from part of the beginning of a paragraph #8518
Unanswered
Rfromearth
asked this question in
Q&A
Replies: 0 comments
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.
-
Hello, I'd like to achieve the following:
I have a paragraph like this:
1.1 At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.and I want this toc entry:
1.1 At vero eos et accusamusI can't use
#### 1.1 At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.because the hole paragraph will show up in the toc listing.
I don't want to write
#### 1.1 At vero eos et accusamus,et iusto odio dignissimos ducimus ...because it breaks the paragraph.
<a id="1.1">1.1 At vero eos et accusamus</a>, et iusto odio dignissimos ducimuscreates a nice link, but no toc entry.
<h4 id="1.1">1.1 At vero eos et accusamus</h4>, et iusto odio dignissimos ducimuscreates an even nicer link but breaks the paragraph and isn't listed in the toc.
Thank you for reading my comment.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions