The PortaLinux Project

The PortaLinux Markup Language Specification 1.1


The PortaLinux Markup Language, PLML for short, is a simple markup language that is mainly used for configuring PortaLinux system software, such as pl-srv and some other programs within pl-coreutils.

The PLML syntax is based on TOML. PLML is basically an attempt to simplify TOML into an INI-like language. Because of PLML being a subset of TOML, any PLML file is a valid TOML file and can be parsed by any TOML parsing library.

Syntax


The PLML syntax only has three types of tokens:

Example file


This is an example PLML file that shows all the features of this TOML subset:

        
          # This is an example PLML File
          [example-header]
          property1 = "test string 123" # Basic string
          property2 = 1234 # Integer
          property3 = true # Boolean
          property4 = 1.5 # Float
          property5 = [ 123, 2011, 6502 ] # Array