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
Last revision Both sides next revision
trivia:wiki [2020/03/04 19:58]
prgram [설정 history]
trivia:wiki [2021/09/24 23:49]
prgram [MathJax]
Line 3: Line 3:
  
 ===== Wiki 활용 ===== ===== Wiki 활용 =====
- 
-==== 활용 ==== 
  
   * 기업위키를 통한 공유지식 [[https://​brunch.co.kr/​@lunarshore/​209|https://​brunch.co.kr/​@lunarshore/​209]]   * 기업위키를 통한 공유지식 [[https://​brunch.co.kr/​@lunarshore/​209|https://​brunch.co.kr/​@lunarshore/​209]]
Line 10: Line 8:
   * [[http://​woowabros.github.io/​woowabros/​2016/​09/​13/​confluence_guide.html|소프트웨어 팀을 위한 컨플루언스 가이드]]   * [[http://​woowabros.github.io/​woowabros/​2016/​09/​13/​confluence_guide.html|소프트웨어 팀을 위한 컨플루언스 가이드]]
  
-=== 설정 history === 
- 
- 
-  * [MAIN] [[http://​www.dokuwiki.org/​config:​maxseclevel|maxseclevel]]Maximum section edit level : 3→4 
-  * [MAIN] sneakyindex : true 
-  * [ACL] weblog:​draft:​ all,user NONE 
-  * [lib>​tpl>​bootstrap3>​main.php] <​head>​ 에 GTM 코드 삽입 
-    * google adsense plugin 코드삽입 
-  * [xbr] main설정 renderer_xhtml 수정 
-  * [bootstrap3] > main.php 71Line : <​code>​ <article id="​dokuwiki__content"​ onclick="​jQuery('​.navbar-collapse'​).collapse('​hide'​);"​ </​code>​ 
-    * https://​getbootstrap.com/​docs/​4.0/​components/​collapse/​ 참고 
-    * google adsense 삽입 <​!------------------- 구글 광고 -------------------------------------------------------------------------------->​ 
-    * 웹폰트 <​!--웹폰트-->​ 
-  * [/​user/​dokuwiki/​inc/​lang/​en/​edit.txt] : plugin 페이지 링크 삽입 
- 
-  * CK https://​www.dokuwiki.org/​tips:​commonlogin 
-    * [/​inc/​init.php] l147 
-    * [/​inc/​auth.php] l1231, 423 
-    * [/​inc/​common.php] l505 : wl (wikilink) 
-    * [/​inc/​parser/​xhtml.php] l910. (internallink) 
  
 +===== 설정 =====
 +===favicon===
 +dokuwiki/​lib/​tpl/​템플릿명/​images 내에 아래 파일들을 수정한다
 +desktop : favicon.ico
 +mobile : apple-touch-icon.png
  
 +inc/​template.php 1932 라인에 있음
 ===== Plugin ===== ===== Plugin =====
  
 [[https://​openwiki.kr/​tech/​|https://​openwiki.kr/​tech/​도쿠위키#​유용한_플러긴]] [[https://​openwiki.kr/​tech/​|https://​openwiki.kr/​tech/​도쿠위키#​유용한_플러긴]]
 +[[https://​openwiki.kr/​tech/​%EB%8F%84%EC%BF%A0%EC%9C%84%ED%82%A4|Openwiki - 도쿠위키 기술]]
  
 [[http://​html5around.com/​wordpress/​tutorials/​|http://​html5around.com/​wordpress/​tutorials/​도쿠위키-설치-우분투기준-문법-플러그인-쭈욱-알아/​]] [[http://​html5around.com/​wordpress/​tutorials/​|http://​html5around.com/​wordpress/​tutorials/​도쿠위키-설치-우분투기준-문법-플러그인-쭈욱-알아/​]]
Line 50: Line 35:
  
  
 +
 +https://​www.dokuwiki.org/​tips:​blogging
 +
 +https://​www.dokuwiki.org/​tips
 ---- ----
  
Line 76: Line 65:
  
 === tag === === tag ===
 +https://​www.dokuwiki.org/​plugin:​tag
 <​code>​ <​code>​
 {{tag>​tag1 tag2 tag3}} {{tag>​tag1 tag2 tag3}}
Line 89: Line 78:
    
 </​code>​ </​code>​
 +
 +=== inlinetoc ===
 +https://​www.dokuwiki.org/​plugin:​inlinetoc
 +<​code>​ {{INLINETOC}} </​code>​
  
 === SyntaxHighlighter4 === === SyntaxHighlighter4 ===
Line 103: Line 96:
   * hideMail 빼고 전부 enable   * hideMail 빼고 전부 enable
   * https://​developers.facebook.com/​tools/​debug ​ 공유 디버거   * https://​developers.facebook.com/​tools/​debug ​ 공유 디버거
 +  * https://​developers.facebook.com/​docs/​sharing/​best-practices/#​precaching
 +  * https://​search.google.com/​structured-data/​testing-tool#​url=http%3A%2F%2Ftriviaz.net%2Fblog%3Ascale_free_network_link
  
 +[helper.php] line 129: getDescription : 
 +<code php>​return (@$this->​meta['​description'​]['​abstract'​] ? substr($this->​meta['​description'​]['​abstract'​],​strlen($this->​getTitle())+1) : $this->​getTitle());​ </​code>​
 ===include=== ===include===
 https://​www.dokuwiki.org/​plugin:​include https://​www.dokuwiki.org/​plugin:​include
Line 140: Line 137:
 just add ''​[''​ just add ''​[''​
 <​code>​ [{{imgsrc|caption}}] </​code>​ <​code>​ [{{imgsrc|caption}}] </​code>​
 +
 +
 +===imagereference===
 +https://​www.dokuwiki.org/​plugin:​imagereference
 +<​code>​
 +<​imgcaption label|John Doe>​{{:​wiki:​dokuwiki-128.png}}</​imgcaption>​
 +The Dokuwiki image can be seen in <imgref label>.
 +</​code>​
 +
 +
 +===MathJax===
 +https://​www.dokuwiki.org/​plugin:​mathjax
 +<code latex>
 +inline $ X \sim \mathcal{N}(\mu,​\,​\sigma^{2})\ $
 +line $$ f(x) = \frac{1}{\sqrt{2\pi}\sigma} ​  ​exp\left( {  -\frac{1}{2} ​  ​\left( ​   \frac{x - \mu}{\sigma} ​ \right)^{2} ​ }  \right) ​ $$
 +</​code>​
 +$ X \sim \mathcal{N}(\mu,​\,​\sigma^{2})\ $  https://​www.overleaf.com/​learn/​latex/​Brackets_and_Parentheses
 +$$ f(x) = \frac{1}{\sqrt{2\pi}\sigma} ​  ​exp\left( {  -\frac{1}{2} ​  ​\left( ​   \frac{x - \mu}{\sigma} ​ \right)^{2} ​ }  \right) ​ $$
 +
 +
 +===cloud===
 +https://​www.dokuwiki.org/​plugin:​cloud
 +~~TAGCLOUD~~
 +워드클라우드는 한글 문제로 잘 작동하지 않음
 +
 +=== 설정 history ===
 +
 +
 +  * [MAIN] [[http://​www.dokuwiki.org/​config:​maxseclevel|maxseclevel]]Maximum section edit level : 3→4
 +  * [MAIN] sneakyindex : true
 +  * [ACL] weblog:​draft:​ all,user NONE
 +  * [lib>​tpl>​bootstrap3>​main.php] <​head>​ 에 GTM 코드 삽입
 +    * google adsense plugin 코드삽입
 +  * [xbr] main설정 renderer_xhtml 수정
 +  * [bootstrap3] > main.php 71Line : <​code>​ <article id="​dokuwiki__content"​ onclick="​jQuery('​.navbar-collapse'​).collapse('​hide'​);"​ </​code>​
 +    * https://​getbootstrap.com/​docs/​4.0/​components/​collapse/​ 참고
 +    * google adsense 삽입 <​!------------------- 구글 광고 -------------------------------------------------------------------------------->​
 +    * 웹폰트 <​!--웹폰트-->​
 +    ​
 +  * [/​user/​dokuwiki/​inc/​lang/​en/​edit.txt] : plugin 페이지 링크 삽입
 +
 +  * CK https://​www.dokuwiki.org/​tips:​commonlogin
 +    * [/​inc/​init.php] l147
 +    * [/​inc/​auth.php] l1231, 423
 +    * [/​inc/​common.php] l505 : wl (wikilink)
 +    * [/​inc/​parser/​xhtml.php] l910. (internallink)
 +
 +  * [Discussion] Thread 신규페이지 생성위치 Off
 +