code and syntax highlighting

How to create a GitLab Wiki and integrate Java code

A GitLab Wiki can be created from the navigation bar in the GitLab menu. The starting point is the Home page, which is the top of the tree. Further pages are added as child pages to the wiki tree. Each change of a page can be tracked by clicking on the history of the page. The GitLab-specific markdown can be used for formatting the wiki pages. To integrate Java code in a wiki page, one has to use three back-ticks (```) before and after the piece of code. This produces inline code and the appropriate syntax highlighting for Java code.
Subscribe to code and syntax highlighting