Hi …I want to link the topics within the same article, just like in Google Docs (Bookmark option). Is this possible in Discourse?
Kindly help.
pasting a link in the composer links to the topic
e.g.
Inlink the topics within the same article
Hi Bhanu…If i want to create a Table of contents for the article so that if a person clicks on any topic it will directly scroll down to that topic…is that possible?
tomtjes
(Thomas Reintjes)
June 22, 2020, 1:23pm
4
It’s supposed to become easier with the upcoming Discourse 2.6
but for now, follow this guide:
(as of 29 May 2020)
Unfortunately there is currently no standard markdown way of creating a heading with an anchor, so if you wish to link directly to an anchor in a post, you have to use regular HTML. Simply create a heading with an id that begins with heading-- like so:
<h3 id='heading--link-to-me'>Link to me</h3>
And then any time you link to the post, you can add #heading--link-to-me in the URL and it’ll jump directly to that spot once it loads. (To prevent abuse of styling on the site, y…
You could also use the DiscoTOC theme component.
This is a theme component that will allow you to generate an interactive table of contents for your topics with one click!
Samples
Desktop
[desktop]
Mobile
[mobile]
Features
toc = table of contents
Automatically generates the entire toc via a button in the composer gear menu
The toc will always be on the screen - scrolls with content like the topic progress widget
As you scroll past sections in the topic, the active element in the table of contents will be set to active (blue h…
1 Like
You can create table in excel and paste it in Discourse. A more native way would be to create table in markdown