User:Borgx/Indented PRE

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

Extension requested for this problem: The tags supposed to keep the rest of codes within the tags indented. One pair of this tags is used at single item on list/numbered list.

Suggestion for the new tag name: <IPRE></IPRE>, <ITEM></ITEM>, <GROUP></GROUP>.

Codes:

*<IPRE>Linux Unix Windows.
List of operating system:
*Linux
*Unix
*Windows

List of Linux distro:
# Fedora
# SUSE
# UBUNTU
</IPRE>
*<IPRE>'''Programming languanges'''
<big>Definitions</big>

Authors disagree on the precise definition of programming language. Traits often considered important include:
* Function: A programming language is a language used to write computer programs..
* Target: Programming languages differ from natural languages ..
* Constructs: Programming languages may contain constructs for defining and manipulating data structures..
* Expressive power: The theory of computation classifies languages by the computations they can express. 

Non-computational languages, such as markup languages like HTML or formal grammars like BNF, are usually not considered programming languages; however, informal usage sometimes includes them.
</IPRE>

Result:

Linux Unix Windows.

List of operating system:

  • Linux
  • Unix
  • Windows

List of Linux distro:

  1. Fedora
  2. SUSE
  3. UBUNTU

Programming languanges
Definitions
Authors disagree on the precise definition of programming language. Traits often considered important include:

  • Function: A programming language is a language used to write computer programs..
  • Target: Programming languages differ from natural languages ..
  • Constructs: Programming languages may contain constructs for defining and manipulating data structures..
  • Expressive power: The theory of computation classifies languages by the computations they can express.

Non-computational languages, such as markup languages like HTML or formal grammars like BNF, are usually not considered programming languages; however, informal usage sometimes includes them.