Wrap ordered list items with square bracket using CSS

We can wrap ordered list items with square bracket using the code given below.

ol > li::marker {
	content:"[" counter(list-item) "]. ";
}

Sometimes you may require it if you show a list of publications. We can replace [] with anything if we want.