"Alexander S." <alex0pla...@gmail.com> wrote:
> 2013/10/24 Mihail Zenkov <mihail.zen...@gmail.com>:
> > 2013/10/23, Alexander S. <alex0pla...@gmail.com>:
> >>> I'm confused as to what is wrong with the .ini style configurations.
> >>> They're not just used in Windows, they're used in many other places that
> >>> require simple, easy to use configurations. Python uses it, there are C
> >>> api's for it, etc.
> >>>
> >>> So what problem do you have with a .ini file?
> >> They are okay for simple config files. They are the opposite of okay
> >> for a markup language.
> >
> > Why?
> <ol>
> <li> Lack of proper hierarchy, for one;
> <li> Lack of proper heterogenous containers, for two;
> <li><b>The most important one</b>:
> lack of multiline strings.
> </ol>
> <p>
> Try to express something as simple as <i>my answer</i> (which is
> rather trivial HTML snippet) in .ini format.
> </p>
[body]
content="%ol%%p%"
[ol]
style="list-style-type: decimal"
content="%li.1%%li.2%%li.3"
[li]
style="display: list-item"
content1="Lack of proper hierarchy, for one;"
content2="Lack of proper heterogeneous containers, for two;"
content3="%b%:\nlack of multiline strings."
[b]
style="font-weight: bold"
content="The most important one"
[p]
style="display: block"
content="Try to express something as simple as %i% (which is\nrather trivial
HTML snippet) in .ini format."
[i]
style="font-style: italic"
content="my answer"