Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make <H> tags on Community and homepage clickable #868

Open
logankilpatrick opened this issue Jun 15, 2020 · 5 comments
Open

Make <H> tags on Community and homepage clickable #868

logankilpatrick opened this issue Jun 15, 2020 · 5 comments

Comments

@logankilpatrick
Copy link
Member

Hey @tlienart, how can we make the H tag's on the various pages clickable?

@zlatanvasovic
Copy link
Contributor

If the page is in Markdown and you use the Markdown syntax for headings, it's done automatically. (Look at https://julialang.org/downloads/#older_releases for example)

@logankilpatrick
Copy link
Member Author

Yes, but for the pages where we embed the HTML in markdown, those don’t work.

@tlienart
Copy link
Contributor

tlienart commented Jun 15, 2020

Here's a simple way, not the most elegant but who cares: just use ~~~ and write markdown so:

~~~
<lots of HTML here>
~~~
## a section
~~~
<more HTML>
~~~
## another section

and then you'll get the automated clickable stuff without having to really think about it

PS: not sure that's 100% clear but what's in ~~~ doesn't need to be "closed" HTML so you can have something like

~~~
<div class="blah foo">
~~~
## a title
~~~
</div>
~~~

(though of course in such a simple case, you should ideally use @@blah,foo ... @@ but whatever)

@logankilpatrick
Copy link
Member Author

Ah, okay thanks!

@zlatanvasovic
Copy link
Contributor

@logankilpatrick I guess this should be closed if @tlienart's suggestion resolves your issue, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants