Differences

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

Link to this comparison view

Next revision
Previous revision
help [2018/11/10 23:09] – how to wiki yairhelp [2018/11/29 15:32] (current) yair
Line 1: Line 1:
 +====== help and syntax ======
 +
 +some helpers to start you with the dokuwiki syntax
 +
 +the [[https://wiki.idiot.io|wiki.idiot.io]] home page is generated using the [[https://www.dokuwiki.org/plugin:nspages|nspages]] plugin.
 +
 +
 ==== how to create new page==== ==== how to create new page====
 **type a non title name in address bar**  **type a non title name in address bar** 
 +{{ https://i.imgur.com/qMpnJ7wl.png }}
  
- {{https://i.imgur.com/qMpnJ7w.png}} 
  
 **create it** **create it**
  
- {{https://i.imgur.com/JCvGX1I.png}}+{{ https://i.imgur.com/JCvGX1Il.png }} 
 + 
 + 
 + 
 +the change comment will appear under **recent** part of the start page.<br> 
 + 
 +{{ https://i.imgur.com/KEOJR0g.png }} 
 + 
 +==== how to export to HTML ==== 
 +add **"?do=export_xhtmlbody"** to link for html export 
 +from this  
 +  https://wiki.idiot.io/pcbgreycode 
 +to this  
 +  https://wiki.idiot.io/pcbgreycode?do=export_xhtmlbody 
 + 
 + 
 +more [[https://www.dokuwiki.org/export|here]] 
 + 
 + 
 +==== how to delete a page ==== 
 +  *you have to be in admin group to delete 
 +  *edit page > delete all text > save > page is gone 
 + 
 + 
 +==== color styling ==== 
 +with preview of changes, side by side 
 + 
 +{{https://i.imgur.com/IHkfchi.png}} 
 + 
 +==== image hacks ==== 
 +if you host on imgur images you get automatic resizing\\ 
 +just add m (medium), l (large) to the image url.\\ 
 +here is a medium shot, notice the m\\ 
 +  {{https://i.imgur.com/P4ScmDU.jpg}} 
 + 
 +for local pics add ?400 
 +  {{image.jpg?400}}
  
-** the change comment will appear in the **recent** part of the start page.+**[[https://www.dokuwiki.org/plugin:imgpaste|imgpaste]] is installed**, simply ctrl+v to upload an image and display
  
-{{https://i.imgur.com/KEOJR0g.png}}+{{:pasted:20181120-231059.png}}
  
 +==== video ====
 +a space right after the curly braces will align to the left, space on both sides of the link will align to center. this is true to images too.
 +  {{ :fbvideos:video1426446238_10152689458085079.mp4 }}
 +{{ :fbvideos:video1426446238_10152689458085079.mp4 }}
 ==== syntax ==== ==== syntax ====
   * [[https://www.dokuwiki.org/wiki:syntax|general]]    * [[https://www.dokuwiki.org/wiki:syntax|general]] 
   * [[https://www.dokuwiki.org/images| image]]    * [[https://www.dokuwiki.org/images| image]]