Wiki syntax manual?


(Dingdog) #1

Hi.
Is there some manual on how to write texts on Yii Wiki?
https://www.yiiframework.com/wiki

I know that this is h4:

text

This is list:

  • one
  • two

H3 is this:

text

This is code:

$a = 5;
select * from

… but how to use other formatting? For example yii documentation looks good. How did they write headers? Do you know more tricks?

https://www.yiiframework.com/doc/guide/2.0/en/intro-upgrade-from-v1


(Alexander Makarov) #2

Markdown. https://guides.github.com/features/mastering-markdown/


(Dingdog) #3

Aha aha… but Wiki still cannot really work with headers. If I use # (which should be h1) then h4 is rendered and the table of contents is appended so I must use ## … and these headers have small margin so things are too close. Isnt there some limitation?


(Alexander Makarov) #4

Yes. H1 is taken.


(Dingdog) #5

Ok. And how can i create h2? As you said, # is h1, but renders h4. Therefore ## should be h2, but h5 is rendered instead in my document. I want to use bigger headers which will visualy separate chapters. Or is it intentionally unsupported feature?


(Alexander Makarov) #6

Yes, these are intentionally not supported in the wiki. H1 is taken by website overall header, H2 is taken by article title.