Org-mode mailing list
 help / color / mirror / Atom feed
From: Bastien <bzg@altern.org>
To: Ren Wen shan <renws1990@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [org2blog] How to add section numbers?
Date: Thu, 24 Jan 2013 13:48:08 +0100
Message-ID: <87pq0uoign.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CAFozUsk4jp7R8A4=RvqKHQ5Ck3g7LqnDt4HaooW3+AqgW_KgoQ@mail.gmail.com> (Ren Wen's message of "Thu, 24 Jan 2013 15:04:38 +1100")

Hi,

Ren Wen shan <renws1990@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,

-- 
 Bastien

  reply	other threads:[~2013-01-24 12:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-24  4:04 Ren Wen shan
2013-01-24 12:48 ` Bastien [this message]
2013-01-24 14:59   ` Wenshan Ren
2013-01-24 15:41     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://orgmode.org

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pq0uoign.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=renws1990@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://orgmode.org/list/0 list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ https://orgmode.org/list \
		emacs-orgmode@gnu.org
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git