User Tools

Site Tools


howto:wrap

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howto:wrap [2019/12/12 15:52] – [Boxes] va7fihowto:wrap [2020/08/07 13:03] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Wrap Plugin Examples ====== ====== Wrap Plugin Examples ======
 +
 +The Wrap plugin has some of its most commonly used wraps in the tool bar:
 +{{  wrap.png  }}
  
 More info [[https://www.dokuwiki.org/plugin:wrap |here]] More info [[https://www.dokuwiki.org/plugin:wrap |here]]
Line 7: Line 10:
 <WRAP half column> <WRAP half column>
 %%<WRAP half column>%% %%<WRAP half column>%%
 +
 +This is text in the left column.
 </WRAP> </WRAP>
  
 <WRAP half column> <WRAP half column>
 %%<WRAP half column>%% %%<WRAP half column>%%
 +
 +This is text in the right column.
 </WRAP> </WRAP>
  
Line 18: Line 25:
 <WRAP rightalign> <WRAP rightalign>
 %%<WRAP rightalign>%% %%<WRAP rightalign>%%
 +
 +All this text is aligned to the right.
 </WRAP> </WRAP>
  
 <WRAP centeralign> <WRAP centeralign>
 %%<WRAP centeralign>%% %%<WRAP centeralign>%%
 +
 +All this text is aligned in the centre.
 </WRAP> </WRAP>
  
 <WRAP leftalign> <WRAP leftalign>
 %%<WRAP leftalign>%% %%<WRAP leftalign>%%
 +
 +This text is aligned to the left as per usual.
 </WRAP> </WRAP>
  
 <WRAP justify> <WRAP justify>
 %%<WRAP justify>%% %%<WRAP justify>%%
 +
 +This text is justified, which means that the lines are stretched so that they all end at the end.
 </WRAP> </WRAP>
  
Line 62: Line 77:
 <WRAP round safety box 80%> <WRAP round safety box 80%>
 %%<WRAP round safety box 80%>%% %%<WRAP round safety box 80%>%%
 +</WRAP>
 +
 +<WRAP prewrap 80%>
 +%%<WRAP prewrap 80%>%% is not technically a box, but it acts like one.
 </WRAP> </WRAP>
  
Line 69: Line 88:
 <WRAP round info box 80%> <WRAP round info box 80%>
 %%<WRAP round info box 80%>%% %%<WRAP round info box 80%>%%
 +</WRAP>
 +
 +<WRAP round help box 80%>
 +%%<WRAP round help box 80%>%%
 </WRAP> </WRAP>
  
Line 93: Line 116:
 </WRAP> </WRAP>
  
-<WRAP prewrap 40%>%%<WRAP prewrap 40%>%% is not technically a boxbut it acts like one.</WRAP>+ 
 +Also note that the width can be set as: ''%, px, em, rem, ex, ch, vw, vh, pt, pc, cm, mm, in''
 ===== Misc ===== ===== Misc =====
-Using ''wrap'' in lower case for embedded text:+For embedded text, use ''wrap'' in lower case:
  
   * <wrap tip>%%<wrap tip>%%</wrap>   * <wrap tip>%%<wrap tip>%%</wrap>
 +  * <wrap tip></wrap>
   * <wrap mark hi>%%<wrap mark hi>%%</wrap>   * <wrap mark hi>%%<wrap mark hi>%%</wrap>
   * <wrap mark lo>%%<wrap mark lo>%%</wrap>   * <wrap mark lo>%%<wrap mark lo>%%</wrap>
Line 103: Line 128:
   * <wrap spoiler>%%<wrap spoiler>%%</wrap>   * <wrap spoiler>%%<wrap spoiler>%%</wrap>
   * <wrap indent>%%<wrap indent>%%</wrap>   * <wrap indent>%%<wrap indent>%%</wrap>
-  * <wrap outdent>%%<wrapoutdent>%%</wrap>+  * <wrap outdent>%%<wrap outdent>%%</wrap> 
 +  * <wrap button>%%<wrap button>[[link]]%%[[wrap]]</wrap>
  
 +
 +===== Test =====
 +
 +<WRAP box 40%>
 +==== test ====
 +
 +%%<WRAP box 80%>%%
 +</WRAP>
 +
 +<WRAP 40%>
 +==== A Heading ====
 +
 +So here's a sample wrap containing what I hope to eventually be a nicely formatted, visually appealing bit of content. 
 +</WRAP>
howto/wrap.1576194723.txt.gz · Last modified: 2019/12/12 15:52 by va7fi