Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-07-07 14:25:27
- MikeTheVike
- Member
- Registered: 2008-06-17
- Posts: 47
[textile] Same Page links using Textile...
Is there any way to do same page links?
normally you would do something like this…
<a href=”#C4”>See also Chapter 4.</a>
<h2>Chapter 3</h2>
<p>This chapter explains ba bla bla</p>
<h2><a name=“C4”>Chapter 4</a></h2>
<p>This chapter explains ba bla bla</p>
Thanks!
Offline
Re: [textile] Same Page links using Textile...
For the first you can write: "See also Chapter 4.":#C4
For the anchor you need to use id instead of name, e.g.:
h2(#C4). Chapter 4
produces:
<p><a href="#C4">See also Chapter 4.</a></p>
<p>For the anchor you need to use id instead of name, e.g.: </p>
<h2 id="C4">Chapter 4</h2>
TXP Builders – finely-crafted code, design and txp
Offline
#3 2008-07-07 16:05:37
- MikeTheVike
- Member
- Registered: 2008-06-17
- Posts: 47
Re: [textile] Same Page links using Textile...
Thanks, that worked great!
Last edited by MikeTheVike (2008-07-07 16:06:30)
Offline