Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
help [2018/11/11 22:01] – image hacks yairhelp [2018/11/29 15:32] (current) yair
Line 1: Line 1:
 +====== help and syntax ======
  
 some helpers to start you with the dokuwiki syntax some helpers to start you with the dokuwiki syntax
  
-the [[https://wiki.idiot.io|wiki.idiot.io]] home page is semi-auto generated using the [[https://www.dokuwiki.org/plugin:changes|changes]] plugin.+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> the change comment will appear under **recent** part of the start page.<br>
  
-{{https://i.imgur.com/KEOJR0g.png}}+{{ https://i.imgur.com/KEOJR0g.png }}
  
 ==== how to export to HTML ==== ==== how to export to HTML ====
Line 27: Line 30:
  
 more [[https://www.dokuwiki.org/export|here]] 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 ==== ==== color styling ====
 +with preview of changes, side by side
 +
 {{https://i.imgur.com/IHkfchi.png}} {{https://i.imgur.com/IHkfchi.png}}
  
 ==== image hacks ==== ==== image hacks ====
- 
 if you host on imgur images you get automatic resizing\\ if you host on imgur images you get automatic resizing\\
 just add m (medium), l (large) to the image url.\\ just add m (medium), l (large) to the image url.\\
 here is a medium shot, notice the m\\ here is a medium shot, notice the m\\
   {{https://i.imgur.com/P4ScmDU.jpg}}   {{https://i.imgur.com/P4ScmDU.jpg}}
-  + 
 +for local pics add ?400 
 +  {{image.jpg?400}} 
 + 
 +**[[https://www.dokuwiki.org/plugin:imgpaste|imgpaste]] is installed**, simply ctrl+v to upload an image and display 
 + 
 +{{: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]]