strapdown icon indicating copy to clipboard operation
strapdown copied to clipboard

Anchor link ids are not generated?

Open androidand opened this issue 8 years ago • 6 comments

I really want to use anchor links to headlines. Creating a link works with

[A working anchor link](#gohere)

But I can not find any way of generating the id/target. It should look like this after being parsed by strapdown: <a name="gohere"></a>

I am amazed that there are no examples of anchor links/bookmarks, I did find examples of links.

androidand avatar Nov 06 '15 14:11 androidand

I have solved this in my derived project of strapdown.

https://github.com/chaitin/strapdown-zeta

Example: http://strapdown.ztx.io/#h1.0.1_features

zTrix avatar Nov 07 '15 16:11 zTrix

That's great, you saved me some trouble, thank you!

Skickat från min iPhone

7 nov. 2015 kl. 17:40 skrev Wenlei Zhu [email protected]:

I have solved this in my derived project of strapdown.

https://github.com/chaitin/strapdown-zeta

Example: http://strapdown.ztx.io/#h1.0.1_features

— Reply to this email directly or view it on GitHub.

androidand avatar Nov 07 '15 21:11 androidand

Strapdown-zeta uses ~~a compiled code, which I do not like placing on my server~~. a modified strapdownjs code (0.74) which I tried to build but was un-successful. The themes etc do not work properly unless you grab them from his site. (It should, but must be me)

Is there any way I can get this done with strapdown.js only?

roddersg avatar Feb 01 '18 16:02 roddersg

you could use my plugin... light weight and works directly on top of strapdown. https://github.com/joedf/strapdown-topbar

joedf avatar Feb 02 '18 03:02 joedf

@joedf - Thank you, very very much Your plugin has made my day. I was struggling with strapdownjs-zeta but yours is a much cleaner design. You have also solved my problem with the favicon.ico as well. It is certainly a very neat way of doing things.

Thanks again!

roddersg avatar Feb 02 '18 07:02 roddersg

@roddersg my pleasure! 😄

joedf avatar Feb 28 '18 14:02 joedf