Bottom line up front. Follow these steps:
UNC paths will auto-format to links: (\\dc01\syse) unless we tell it not to using nowiki
tags: \\dc01\syse
''<nowiki>\\dc01\syse</nowiki>''
[[js>30604|Case 30604]]
)[[nls>throwing-errors-in-vba|Throwing Errors in VBA]]
)
{{section>gb:powershell:exchange#create_session_in_powershell}}
resolves to this:
The following sets of characters take advantage of the DokuWiki Entities feature to perform automatic text replacement:
[_]
: ☐[x]
: ☒[√]
: ☑ (NOTE: to enter the checkmark character, hold down Alt and enter 251
on the numeric keypad [further note: you must use the keypad; entering 251
using the top row of numbers on the keyboard will not work])
Non-breaking spaces ( ) can be entered using \_
. This is managed via the entities.local.conf
file.
This text1) needs a reference.
Wrap text in two single-quotes before and after to force ''fixed-width font'': fixed-width font
. Fixed width text is easier to copy and paste than variable width fonts. Thus, filenames and other text we're likely to want to select should be entered with the fixed-width font.
Hiding/Folding Text: Text can be hidden/folded using three plus (+
) signs as shown here: +++Title|Text to hide+++
which gets rendered as: Title
You can also hide entire blocks of text by using four plus (+
) signs:
Here's a block of VBA code (added via <code vb></code>
):
Public Sub HelloWorld() Debug.Print "Hello, world!" End Sub
This is a file that can be downloaded (added via <file text .hgignore></file>
):
syntax: glob *.twinproj
You can show code underneath an item in an ordered list without breaking the ordering by using the double-backslash to embed a newline after the item:
SELECT 'Success!' FROM Dummy --see, we can embed line breaks in the SQL, too
Here are some keyboard keys: Ctrl + C to copy
This is some highlighted text. Some important text. Full Wrap plugin examples.
Here's a useful tip that doesn't really flow with the rest of the article. It's automatically indented 5% (by virtue of having a width of 90% and being centered).
There is a hidden comment via the Wrap plugin! in the source text for this line. It's added like this:
<wrap hide>hidden comment</wrap>
Use the "TODO" wrap block to embed "technical notes" in our product wiki pages:
TECHNICAL NOTES
This is a technical note that most users probably don't care about.
<html><a href="mailto:mike@grandjean.net?subject=A subject with spaces&body=Line 1%0D%0ALine 2&cc=anotheremailaddress@anotherdomain.com &bcc=onemore@anotherdomain.com">Advanced Mailto: (body, cc, and bcc)</a></html>
tl;dr: Append the following text to pasted image tags: ?direct&150|
Images can be copied and directly pasted into DokuWiki via the imgpaste plugin. The plugin will upload the media file from the clipboard, give it a unique name based on the current time, and insert the image tag text into the page at the current cursor location:
{{:gb:pc:software:pasted:20240625-125043.png}}
Which will appear when rendered as follows:
Most of the time, we don't want large images to distract from the text. You can resize an image to make it smaller and create a link to the full-size image by appending the following text to the image tag inside the double curly braces:
?direct&150|
{{:gb:pc:software:pasted:20240625-125043.png?direct&150|}}
This will render like so: