Yii Framework Forum: Writing A Wiki With Menu (Anchor Links) - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Writing A Wiki With Menu (Anchor Links) Rate Topic: -----

#1 User is offline   nkd 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 49
  • Joined: 28-September 12

Posted 23 October 2012 - 01:31 PM

How do I include a menu (anchor links to the titles) of a wiki? I tried to search the web and thought I found the solution but then I wrote my wiki and it did not work. I also read the markup documentation but I think it does not include how to do this even though I have seen many wiki articles that include it.
0

#2 User is offline   bennouna 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,166
  • Joined: 05-January 12
  • Location:Morocco

Posted 23 October 2012 - 05:58 PM

You can edit a wiki of those and see the markdown code. Basically you need to have h1 and h2 titles in the wiki body, they will automatically be included in the TOC.
0

#3 User is offline   nkd 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 49
  • Joined: 28-September 12

Posted 24 October 2012 - 03:39 AM

View Postbennouna, on 23 October 2012 - 05:58 PM, said:

You can edit a wiki of those and see the markdown code. Basically you need to have h1 and h2 titles in the wiki body, they will automatically be included in the TOC.



Oh ok. I did not know I could edit a wiki made by other person. I'll see the code. Thank you!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users