Check out https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Counters

Something like this:

ol {
    list-style-type: none;
    counter-reset: section;
    padding-left: 0;
}
li:before {
    counter-increment: section;
    content: "[" counter(section) "] ";
    padding-right: 1em;
}


On Tue, Aug 13, 2013 at 9:46 AM, Teig, Oyvind CCS <
[email protected]> wrote:

> I make "academic style" references that I would want to look like this:
>
> [1]          Paper 1
> [2]          Paper 2
>
> Here is an example, where I would like all numbers to be wrapped in [x]:
>
> http://www.teigfam.net/oyvind/home/technology/072-pike-sutter-concurrency-vs-concurrency/#References
>
> It's Wordpress.
>
> Med vennlig hilsen / Best regards
>
> Øyvind Teig
> Senior utviklingsingeniør, siv.ing.  / Senior development engineer, M.Sc.
> __________________________________________
> Autronica Fire and Security AS
> UTC CCS EMEA Fire & Security Operations
> Phone: + 47 73 58 24 68 / Mobile +47 959 61 506
> E-mail:  [email protected]<mailto:[email protected]>
> www.autronicafire.no<http://www.autronicafire.no>
> www.teigfam.net/oyvind/home/<http://www.teigfam.net/oyvind/home/> (also
> work-related)
>
> ______________________________________________________________________
> css-discuss [[email protected]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>



-- 
Chris Rockwell
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to