Home
Categories
Dictionary
Download
Project Details
Changes Log
What Links Here
How To
Syntax
Wiki usage
Tutorials
FAQ
License

Comparison with wikipedia syntax



Wikipedia uses the Mediawiki syntax. DocJGenerator uses an XML-based syntax. However a lot of concepts handled by wikipedia exist in DocJGenerator. Note that if you really want to use a "full" Mediawiki syntax, you can define an article in full Mediawiki markup (see mediawiki syntax).

Comparison table

Concept Wikipedia syntax docJGenerator XML syntax
Titles series of "=" characters at the beginning of a line (example: === title for a level 2 title) title element[1]
Can also use the same syntax as Wikipedia titles if the relaxed Syntax is set
Lists series of "*" or "#" characters at the beginning of a line (example: * item 1) ul or ol element[2]
Can also use the same syntax as Wikipedia lists if the relaxed Syntax is set
See also "about" structure seeAlso element
Categories "[[Category:category name]]" structure cat element
Reference to another article "[[other article name]]" structure ref element
See Also "{{see also" element moreInfo element
Image "[[File:image file name]]" structure img element
Glossaries "{{term:term|definition}} term element
External link "[external link text]" structure a element
Javadoc link "{{Javadoc:SE" structure javadoc element
date "{{year-month-day}}" structure date element
audio link "{{audio|" structure audio element
Bold or italic text enclosing '' or ''' characters b or i element[3]
Can also use the same syntax as Wikipedia text formatting if the relaxed Syntax is set
Code presentation "<code>the code</code>" structure code element
Pre presentation "<pre>" or "<source>"element or beginning a line with a space pre element
Tables "{| class="wikitable"" element table element
Block indent "{{block indent |1=" template block element
Warning "{{Warning |heading=Heading |Lorem ipsum...}}" template messageBox element
Mathematical formulas "<math> element[4]
Contrary to Wikipedia which uses the LaTeX syntax for formulas, docJGenerator uses the MathML syntax
math element
Embedded HTML - html element
Maps "{{Location map element map element
Redirecting special "REDIRECT" articles altTitle element or redirect articles
Transclusion {{:<article ID>}} include element
Disambiguation Disambiguation articles Disambiguation articles
Citations "{{cite" element cite element
Footnotes "<ref>" element note element. A "Notes" title will be automatically generated if necessary
infobox "{{infobox" element infobox element

Notes

  1. ^ Can also use the same syntax as Wikipedia titles if the relaxed Syntax is set
  2. ^ Can also use the same syntax as Wikipedia lists if the relaxed Syntax is set
  3. ^ Can also use the same syntax as Wikipedia text formatting if the relaxed Syntax is set
  4. ^ Contrary to Wikipedia which uses the LaTeX syntax for formulas, docJGenerator uses the MathML syntax

See also


Categories: General

docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.

Project Web Hosted by SourceForge.net Copyright 1999-2010 - Geeknet, Inc., All Rights Reserved About - Legal - Help