Bastien writes: > Hi, > > Ren Wen shan <renws1...@gmail.com> writes: > >> I started to use org2blog for blogging recently and it works great. >> Just >> wondering if it is possible to add section numbers like >> org-export-as-html does. >> >> For example, a org file like this: >> >> * Generally Not Used >> ** Except >> *** By Middle Aged >> >> * Computer >> ** Scientist >> >> will becomes: >> >> 1. Generally Not Used >> 1.2 Except >> 1.2.1 By Middle Aged >> >> 2. Computer >> 2.1 Scientist >> >> Thanks, > > See this: > http://stackoverflow.com/questions/10340276/how-to-add-section-numbers-1-2-3-4-1-automatically-using-css > > With an example here: > http://jsfiddle.net/PfcX2/1/ > > HTH,
Hi Bastien, Thank you, they make sense to me. It uses CSS counter-increment property to add section numbers, I want to know if it is possible to make use of labels such as <h1 id="sec-1-1>. I found that blogs generated by org2blog actually contain section numbering information (as the label mentioned above), it is just not showing. Best, -- Wenshan Ren Email: renws1...@gmail.com Blog: wenshanren.org Douban: www.douban.com/people/renws