ユーザ用ツール

サイト用ツール


dokuwikiマニュアル

差分

この文書の現在のバージョンと選択したバージョンの差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
dokuwikiマニュアル [2019/02/09 11:07]
ips
dokuwikiマニュアル [2019/08/24 15:31] (現在)
ips
ライン 2: ライン 2:
  
 ===== コードの書き方 ===== ===== コードの書き方 =====
-codeタグで囲むとコードになる。 code ファイルの種類 ファイル名 
  
-<​code>​ +%%<code>​もしくは<​file>​タグで囲むとコードになる。%% 
-<code json launch.json>​  +コードタグは %%<​code [ファイルの種類] [ファイル名] >%% 
-launch.json +ファイルの種類をつけるとコードのハイライト。 
-{+ファイル名でダウンロードリンクができる。 
 +<HTML
 +<code json launch.json> ​  
 +launch.json ​  
 + 
     …     …
 </​code>​ </​code>​
 +</​HTML>​
  
 <code json launch.json>​ <code json launch.json>​
ライン 16: ライン 20:
     …     …
 </​code>​ </​code>​
 +
 +<WRAP center round tip 90%>
 +%%コードにタグを埋め込むには<​code>​ではなく<​HTML>​か<​PHP>​を使用する。%%
 +HTML、PHPは大文字を使う。
 +</​WRAP>​
 +
 +
 +===== インラインのコード =====
 +小文字のhtml、phpを使用する。
 +
 +%%例:こういうときには<​html>​git log</​html>​すればいいんだぜ!%%
 +例:こういうときには<​html>​git log</​html>​すればいいんだぜ!
 +
 +
 +===== エスケープ =====
 +
 +エスケープしたい箇所を%2つで囲む。
 +<​code>​
 +%%コードにタグを埋め込むには<​code>​ではなく<​HTML>​か<​PHP>​を使用する。%%
 +</​code>​
 +
 +===== 不要なファイルを削除する =====
 +編集画面からメディアマネージャーを開く
 +{{:​pasted:​20190402-062221.png}}
 +
 +pastedを選択すると、いままでペイストした画像が表示されるので削除できる。
 +{{:​pasted:​20190402-062323.png}}
 +
 +===== Wrap Plugin =====
 +Wrap Pluginを使っているので色々な装飾ができる。
 +編集画面のボックスをクリックすると、装飾方法が表示される。
 +{{:​pasted:​20190824-142813.png}}
 +
 +==== ハイライト ====
 +
 +<​code>​
 +<wrap hi>​ハイライト</​wrap>​
 +<wrap lo>​目立たせない</​wrap>​
 +<wrap em>​強調</​wrap>​
 +</​code>​
 +<wrap hi>​ハイライト</​wrap>​
 +<wrap lo>​目立たせない</​wrap>​
 +<wrap em>​強調</​wrap>​
 +
 +==== 枠 ====
 +
 +<​HTML>​
 +<WRAP center round box 60%>
 +中央配置枠
 +</​WRAP>​
 +</​HTML>​
 +
 +<WRAP center round box 60%>
 +中央配置枠
 +</​WRAP>​
 +
 +<​HTML>​
 +<WRAP center round info 60%>
 +情報枠
 +</​WRAP>​
 +</​HTML>​
 +
 +<WRAP center round info 60%>
 +情報枠
 +</​WRAP>​
 +
 +<​HTML>​
 +<WRAP center round tip 60%>
 +ヒント枠
 +</​WRAP>​
 +</​HTML>​
 +
 +<WRAP center round tip 60%>
 +ヒント枠
 +</​WRAP>​
 +
 +<​HTML>​
 +<WRAP center round important 60%>
 +重要枠
 +</​WRAP>​
 +</​HTML>​
 +
 +<WRAP center round important 60%>
 +重要枠
 +</​WRAP>​
 +
 +<​HTML>​
 +<WRAP center round alert 60%>
 +警告枠
 +</​WRAP>​
 +</​HTML>​
 +
 +<WRAP center round alert 60%>
 +警告枠
 +</​WRAP>​
 +
 +<​HTML>​
 +<WRAP center round help 60%>
 +ヘルプ枠
 +</​WRAP>​
 +</​HTML>​
 +
 +<WRAP center round help 60%>
 +ヘルプ枠
 +</​WRAP>​
 +<​HTML>​
 +<WRAP center round download 60%>
 +ダウンロード枠
 +</​WRAP>​
 +</​HTML>​
 +
 +<WRAP center round download 60%>
 +ダウンロード枠
 +</​WRAP>​
 +
 +<​HTML>​
 +<WRAP center round todo 60%>
 +TODO枠
 +</​WRAP>​
 +</​HTML>​
 +
 +<WRAP center round todo 60%>
 +TODO枠
 +</​WRAP>​
 +
 +===== UML =====
 +
 +<​HTML>​
 +<uml>
 +title Iterator
 +
 +interface Aggregate{
 +createIterator()
 +}
 +
 +interface Iterator{
 ++hasNext()
 ++next() ​   ​
 +}
 +
 +class BookShelf{
 +createIterator(this)
 +}
 +
 +class BookShelfIterator{
 +BookShelf
 ++hasNext()
 ++next() ​
 +}
 +
 +Aggregate -> Iterator : Create
 +Aggregate <|.. BookShelf
 +Iterator <|.. BookShelfIterator
 +BookShelf <-o BookShelfIterator
 +
 +</​uml>​
 +</​HTML>​
 +
 +<uml>
 +title Iterator
 +
 +interface Aggregate{
 +createIterator()
 +}
 +
 +interface Iterator{
 ++hasNext()
 ++next() ​   ​
 +}
 +
 +class BookShelf{
 +createIterator(this)
 +}
 +
 +class BookShelfIterator{
 +BookShelf
 ++hasNext()
 ++next() ​
 +}
 +
 +Aggregate -> Iterator : Create
 +Aggregate <|.. BookShelf
 +Iterator <|.. BookShelfIterator
 +BookShelf <-o BookShelfIterator
 +
 +</​uml>​
dokuwikiマニュアル.1549678079.txt.gz · 最終更新: 2019/02/09 11:07 by ips