User Tools

Site Tools


tech:software_dokuwiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
tech:software_dokuwiki [2018/02/10 20:48]
reb
tech:software_dokuwiki [2018/02/10 20:52]
reb
Line 36: Line 36:
  
 **Indents**. Jack wanted an indented line, so he can use CKEdit Plugin, or he can type > at the start of every line. Typing two of these, indents the line further. As you can see below, you can make text deeply indented. This method places a grey stripe on the left. As seen here; **Indents**. Jack wanted an indented line, so he can use CKEdit Plugin, or he can type > at the start of every line. Typing two of these, indents the line further. As you can see below, you can make text deeply indented. This method places a grey stripe on the left. As seen here;
- +<​code>>​The
-<​code>​ +
- +
->The+
 >>cat >>cat
 >>>​in >>>​in
Line 45: Line 42:
 >>>>>​hat >>>>>​hat
 >>>>>>​rules. >>>>>>​rules.
- 
 </​code>​ </​code>​
  
Line 99: Line 95:
 . .
  
-* **YouTube or Embed HTML using iFrames**. Jill uses too many plugins, she just wants to show a YouTube cat video. Why isn't this a normal feature? No one knows. This is easy as long as she's the only user on her website, because this method can be taken advantage of by bad users. Using iFrames, you can embed whatever video or website (sadly even a dangerious ​one) onto your DokuWiki. Set your DokuWiki settings to allow iFrames, by going to Admin, then Configuration Settings, then click Editing in the TableOfContents,​ and check "Allow Embedded HTML", then click Save at the bottom of the page. Now on any page, use the following code. Replace //​c29XPAVy65o//​ with the similar number located in the address of your desired YouTube video. DokuWiki requires the HTML part to be there, so don't delete that…+* **YouTube or Embed HTML using iFrames**. Jill uses too many plugins, she just wants to show a YouTube cat video. Why isn't this a normal feature? No one knows. This is easy as long as she's the only user on her website, because this method can be taken advantage of by bad users. Using iFrames, you can embed whatever video or website (sadly even a dangerous ​one) onto your DokuWiki. Set your DokuWiki settings to allow iFrames, by going to Admin, then Configuration Settings, then click Editing in the TableOfContents,​ and check "Allow Embedded HTML", then click Save at the bottom of the page. Now on any page, use the following code. Replace //​c29XPAVy65o//​ with the similar number located in the address of your desired YouTube video. DokuWiki requires the HTML part to be there, so don't delete that…
  
 {{  :​tech:​html-for-youtube.png?​nolink&​1005x36 ​ |HTML Code for YouTube}}//​.//​ {{  :​tech:​html-for-youtube.png?​nolink&​1005x36 ​ |HTML Code for YouTube}}//​.//​
Line 105: Line 101:
 * Jill needs to **display raw code without DokuWiki formatting it**. She types the following: * Jill needs to **display raw code without DokuWiki formatting it**. She types the following:
  
-<​nowiki>​ <​code>​ Raw code pasted here </​code>​ </​nowiki>​+<​nowiki>​ <​code>​ Raw code pasted here, will retain Spaces and Enter, and show up in a grey box</​code>​ </​nowiki>​
  
-Or the same thing happens here:+Or the following two methods remove when you pressed Enter on the keyboard:
  
 <​nowiki>​ <​nowiki>​ Raw code pasted here </​nowiki>​ </​nowiki>​ <​nowiki>​ <​nowiki>​ Raw code pasted here </​nowiki>​ </​nowiki>​
  
-<​nowiki>​ Or simply type %% at the start and end of your code. </​nowiki>​+<​nowiki>​ Or simply type %% at the start and end of your code, but it will be converted to NoWiki. </​nowiki>​
  
 . .
tech/software_dokuwiki.txt · Last modified: 2018/02/12 21:49 by reb