반응형
m.logPrint() is working!
<eq> and <eqq> tags are rendered to MathJax format, being enclosed by \ ( \ ) and \ [ \ ].
docuK-1 scripts started!
If this log is not closed automatically, there must be an error somewhere in your document or scripts.
Table of Contents is filled out.
Auto numberings of sections (div.sec>h2, div.subsec>h3, div.subsubsec>h4), <eqq> tags, and <figure> tags are done.
<cite> and <refer> tags are rendered to show bubble reference.
<codeprint> tags are printed to corresponding <pre> tags, only when the tags exist in the document.
Current styles (dark/bright mode, font-family, font-size, line-height) are shown.
disqus.js with id="disqus-js" is loaded.
kakao.js with id="kakao-jssdk" is loaded.
New ShortKeys (T: Table of Contents, F: Forward Section, D: Previous Section, L: To 전체목록/[Lists]) are set.
m.delayPad=0;
m.wait=512;
wait 748ms.
<eq> and <eqq> tags are rendered to MathJax format, being enclosed by \ ( \ ) and \ [ \ ].
docuK-1 scripts started!
If this log is not closed automatically, there must be an error somewhere in your document or scripts.
Table of Contents is filled out.
Auto numberings of sections (div.sec>h2, div.subsec>h3, div.subsubsec>h4), <eqq> tags, and <figure> tags are done.
<cite> and <refer> tags are rendered to show bubble reference.
<codeprint> tags are printed to corresponding <pre> tags, only when the tags exist in the document.
Current styles (dark/bright mode, font-family, font-size, line-height) are shown.
disqus.js with id="disqus-js" is loaded.
kakao.js with id="kakao-jssdk" is loaded.
New ShortKeys (T: Table of Contents, F: Forward Section, D: Previous Section, L: To 전체목록/[Lists]) are set.
m.delayPad=0;
m.wait=512;
wait 748ms.







Mode: Bright; Font: Noto Sans KR; font-size: 18.0px (10.0); line-height: 1.6;
width: 1280, height: 720, version: 2.12.18
Canonical URI: https://kipid.tistory.com/entry/pure-SEE-ko
dg:plink (Document Global Permanent Link): https://kipid.tistory.com/266
document.referrer: Empty
width: 1280, height: 720, version: 2.12.18
Canonical URI: https://kipid.tistory.com/entry/pure-SEE-ko
dg:plink (Document Global Permanent Link): https://kipid.tistory.com/266
document.referrer: Empty







순수한 완전 쉬운 편집 (SEE: Super Easy Edit) 문서K (Markdown: 마크다운): 사용 설명서.
현재 문자들로부터 만들어진 HTML 문서K 가 보여지고 있는 중입니다.
T1.문서K 와 SEE (완전 쉬운 편집) 의 초록 | 설명
▼ Show/Hide
문서K 의 특징은 다음과 같습니다.
- 선택 가능한 모드 (밝은 화면, 어두운 화면, 추가로 핑크도 구현할 예정), 글씨체 선택 가능.
- 글씨 크기 바꾸기 가능, 줄 간격 바꾸기 가능.
- 자동으로 만들어 주는 목차 (각 섹션, 하위 섹션으로 점프도 가능하고 각 섹션의 왼쪽 T 버튼을 누르면 목차로 이동됩니다.).
- 섹션들과 그림들 수식들 자동으로 숫자 이름 메겨주기.
- 참고 문헌 참조 (citing) 쉽게 하기, 팝업 형태로 참조한 문헌들 바로 보여주기.
- 그림이나 수식도 쉽게 참조 (refering) 하기. 팝업 형태로 참조한 그림 수식 바로 보여주기.
- ID 가 붙은 어떠한 원소들 (HTML elements with id) 도 참조 (refering with class="id") 가능.
- 데이터를 아끼고 전자기기의 과부하를 방지하기 위한, 지연 된 그림과 영상들 로딩.
- 자동적인 코드 출력 : `
<codeprint id="code-id"></codeprint>
` to `<pre id="pre-code-id"></pre>
`. (기본적으로 docuK 는 여러 docuK 문서가 한 파일에 있을때 중복 된 아이디를 다르게 다루도록 id 뒤에 "-in-docuK-1" 같은걸 추가하는데 이 옵션을 끄려면, 빈<script></script>
SEE 코드 초반에 넣어주세요.)
라텍스 (LaTeX) 나 위키 편집 (Wiki edit) 과 비슷하지만 조금 더 확장된 버전이라고 생각하심 됩니다.
▲ Hide
T2.경고
▼ Show/Hide
이 데모 | 예제 에서는 문서K 및 SEE (완전 쉬운 편집) 의 몇가지 기능들이 제한될 수 있습니다. 지연된 로딩, 브라우저 정보, 코드 예쁘게 출력하기, 수식 출력하기, 추가로 초반에 한번만 실행되는 자바스크립트 코드 같은 것들은 제대로 동작하지 않을수도 있습니다.
여기서는 오직
m.docuKProcess()
함수만이 호출될 것이고, HTML 문서K 를 따로 작성하시거나 script 가 허용되는 블로그나 홈페이지 사이트에 이 문서K 및 SEE (완전 쉬운 편집) 문서를 올리실 경우에는 전체 기능들을 모두 제대로 사용하실 수 있을겁니다.▲ Hide
Table of Contents
1.문서K 와 SEE (완전 쉬운 편집) 의 초록 | 설명
PH.Posting History
COTD.Categories of this document
2.경고
3.명령문 (Statement)
4.문서K 와 섹션들
5.클래스 (class) 와 아이디 (id) 를 가지는 섹션
6.미리 정의된 섹션들: "PH", "COTD", "RRA", "TOC"
No-sec-numbering.섹션 숫자로 표현 안하기 (class="no-sec-N")
No-sec-numbering.1.하위섹션 [.no-sec-N#sec-No-sec-numbering]
No-sec-numbering.1.1.하하위섹션 [.no-sec-N#sec-No-sec-numbering]
7.문헌이나 다른 사이트들 참조하기 와 id 가 있는 HTML 원소들 참조하기.
PH.Posting History
Refs.References and Related Articles
Refs.1.Main
Refs.2.Supported by
Refs.3.API documentation
Refs.4.Other markdown/markup languages
8.head (h2) of section
8.1.head (h3) of subsection
8.1.1.head (h4) of subsubsection
9.초반엔 숨겨지는 섹션
10.직접적인 HTML tag | code
11.Links | URLs to appropriate html
12.Figures
13.Maths or Equations
14.Codes
15.New Section
T3.명령문 (Statement)
▼ Show/Hide
각각의 명령문 (Statement) 이나 문단은 두개의 엔터 이상으로 띄어져 있어야 합니다.
명령문의 처음에 '#' 이나 '<' 가 올 경우 특별하게 처리 됩니다.
▲ Hide
T4.문서K 와 섹션들
▼ Show/Hide
'#' 는 문서K 전체 제목을 의미합니다. 그리고 '##' | '###' | '####' 은 섹션 | 하위섹션 | 하하위섹션을 의미합니다.
문서K 의 마지막은 '#/' 로 표현하고, 섹션 | 하위섹션 | 하하위섹션의 마지막은 '##/' | '###/' | '####/' 로 표현되지만, 이걸 꼭 명시적으로 적으실 필요는 없습니다. ('#/' | '##/' | '###/' | '####/' are optional.) 문서 처리기가 알아서 계층 구조를 파악해 문서K | 섹션 | 하위섹션 | 하하위섹션의 끝을 감지합니다.
▲ Hide
T6.미리 정의된 섹션들: "PH", "COTD", "RRA", "TOC"
▼ Show/Hide
문서K SEE (완전 쉬운 편집) 에는 4가지 미리 정의된 섹션들이 있습니다. "PH": Posting History, "COTD":Categories of This Document, "TOC": Table of Contents, "RRA": References and Related Articles.
아래에서 미리 정의된 섹션들이 구현 된 것을 살펴보세요. 어떤식으로 동작 되는지 쉽게 파악하실 수 있을 겁니다.
▲ Hide
TNo-sec-numbering.섹션 숫자로 표현 안하기 (class="no-sec-N")
▼ Show/Hide
섹션이 숫자로 표현되길 원하지 않으시면 다음과 같이 class 와 id 를 정하세요.
##[.no-sec-N#sec-No-sec-numbering] No section numbering (class="no-sec-N")
TNo-sec-numbering.1.하위섹션 [.no-sec-N#sec-No-sec-numbering]
###[#subsec-No-sec-numbering] 하위섹션 [.no-sec-N#sec-No-sec-numbering]
TNo-sec-numbering.1.1.하하위섹션 [.no-sec-N#sec-No-sec-numbering]
####[#subsubsec-No-sec-numbering] 하하위섹션 [.no-sec-N#sec-No-sec-numbering]
▲ Hide
T7.문헌이나 다른 사이트들 참조하기 와 id 가 있는 HTML 원소들 참조하기.
▼ Show/Hide
<div class="p"> Ref. <cite class="ref-docuK"></cite>, Ref. <cite class="ref-docuKShort"></cite>. </div> <div class="p"> Eq. <refer class="eqq-1"></refer>, Eq. <refer class="eqq-2"></refer>. </div> <div class="p"> Fig. <refer class="fig-1"></refer> </div> <div class="p"> Code: <refer class="code-1"></refer> </div> <div class="p"> Sec. <refer class="sec-Test"></refer>, Sec. <refer class="sec-No-sec-numbering"></refer>, SubSec. <refer class="subsec-No-sec-numbering"></refer>, SubSubSec. <refer class="subsubsec-No-sec-numbering"></refer> </div>
Ref.
[01]
, Ref. [02]
.
Eq. , Eq. .
(13-1)
(13-1)
\[ \alpha \beta = \int f(\gamma) dx \sum_i \hat{H}_i \]
(13-2)
(13-2)
\[ \begin{split}
\vec{x} &= x^{\bar{i}} \vec{e}_{\bar{i}} = x \vec{e}_x + y \vec{e}_y + z \vec{e}_z \\
&= x^{i} \vec{e}_{i} = r \vec{e}_r + \theta \vec{e}_{\theta} + \phi \vec{e}_{\phi} \\
&= x^{i'} \vec{e}_{i'} = u \vec{e}_u + v \vec{e}_v + w \vec{e}_w \\
\end{split} \]
Fig.
(12-1)
Fig. (12-1): Caption.
Code:
Java vertx server code example
Java vertx server code example
On the left side of codes is there a hiden button to toggle/switch scrollability ({max-height:some} or {max-height:none}).
import org.vertx.java.platform.Verticle; // Every Java verticle must extend the class org.vertx.java.platform.Verticle. You must override the start method - this is called by Vert.x when the verticle is started. import org.vertx.java.core.http.HttpServerRequest; public class HelloWorldServer extends Verticle { /////////////////////////////////////////////// // Called when the verticle is deployed. /////////////////////////////////////////////// @Override public void start() { ///////////////////////////////////////////// // Lambda exp with chaining. ///////////////////////////////////////////// vertx.createHttpServer().requestHandler( (HttpServerRequest req) -> { System.out.println("req.method(): "+req.method()); // GET, PUT, POST, DELETE, HEAD, OPTIONS, CONNECT, TRACE, PATCH req.response().putHeader("Content-Type","text/html"); req.response().end("<h1>Hello World</h1>"); req.response().close(); }).listen(1001); } /////////////////////////////////////////////// // Called when the verticle is undeployed. /////////////////////////////////////////////// @Override public void stop() { // do something. } }
Sec. , Sec. , SubSec. , SubSubSec.
No-sec-numbering
No-sec-numbering.1
No-sec-numbering.1.1
이
docuK.SEE
문서에는 아래와 같은 HTML 원소들이 있답니다.<!-- ## RRA with ol.refs --> <ol class="refs"> <div class="subsec"><h3>Main</h3></div> <li id="ref-docuK"><a href="https://kipid.tistory.com/entry/HTML-docuK-format-ver-20">kipid's blog - HTML docuK format ver. 2.1</a>;<br> // Updated regularly</li> <li id="ref-docuKShort"><a href="https://kipid.tistory.com/entry/docuK-short-copiable-version">kipid's blog - docuK short copiable version</a>;<br> // Updated regularly</li> </ol> <!-- ## eqq tag (LaTeX equations) --> <span class="emph"><eqq id="eqq-1"> \alpha \beta = \int f(\gamma) dx \sum_i \hat{H}_i </eqq></span> <eqq id="eqq-2"> \begin{split} \vec{x} &= x^{\bar{i}} \vec{e}_{\bar{i}} = x \vec{e}_x + y \vec{e}_y + z \vec{e}_z \\ &= x^{i} \vec{e}_{i} = r \vec{e}_r + \theta \vec{e}_{\theta} + \phi \vec{e}_{\phi} \\ &= x^{i'} \vec{e}_{i'} = u \vec{e}_u + v \vec{e}_v + w \vec{e}_w \\ \end{split} </eqq> <!-- ## figure tag (img or iframe such as youtube video) --> <figure id="fig-1"><div class="fig"> <img delayed-src="https://blog.kakaocdn.net/dn/bfXXOe/btr2D5LJWv8/8QVkGacKxfeA04512qPFk1/img.png" alt="img with delayed-src"> <div class="caption">Caption.</div> </div></figure> <!-- ## div tag with span.number HTML element. (span.number is cited as a text.) --> <div id="code-1"><span class="number">Java vertx server code example</span> ```[.scrollable.lang-java] import org.vertx.java.platform.Verticle; // Every Java verticle must extend the class org.vertx.java.platform.Verticle. You must override the start method - this is called by Vert.x when the verticle is started. import org.vertx.java.core.http.HttpServerRequest; public class HelloWorldServer extends Verticle { /////////////////////////////////////////////// // Called when the verticle is deployed. /////////////////////////////////////////////// @Override public void start() { ///////////////////////////////////////////// // Lambda exp with chaining. ///////////////////////////////////////////// vertx.createHttpServer().requestHandler( (HttpServerRequest req) -> { System.out.println("req.method(): "+req.method()); // GET, PUT, POST, DELETE, HEAD, OPTIONS, CONNECT, TRACE, PATCH req.response().putHeader("Content-Type","text/html"); req.response().end("<h1>Hello World</h1>"); req.response().close(); }).listen(1001); } /////////////////////////////////////////////// // Called when the verticle is undeployed. /////////////////////////////////////////////// @Override public void stop() { // do something. } } ```/ // Hack to avoid closing "```" code. </div>
▲ Hide
Table of Contents
1.문서K 와 SEE (완전 쉬운 편집) 의 초록 | 설명
PH.Posting History
COTD.Categories of this document
2.경고
3.명령문 (Statement)
4.문서K 와 섹션들
5.클래스 (class) 와 아이디 (id) 를 가지는 섹션
6.미리 정의된 섹션들: "PH", "COTD", "RRA", "TOC"
No-sec-numbering.섹션 숫자로 표현 안하기 (class="no-sec-N")
No-sec-numbering.1.하위섹션 [.no-sec-N#sec-No-sec-numbering]
No-sec-numbering.1.1.하하위섹션 [.no-sec-N#sec-No-sec-numbering]
7.문헌이나 다른 사이트들 참조하기 와 id 가 있는 HTML 원소들 참조하기.
PH.Posting History
Refs.References and Related Articles
Refs.1.Main
Refs.2.Supported by
Refs.3.API documentation
Refs.4.Other markdown/markup languages
8.head (h2) of section
8.1.head (h3) of subsection
8.1.1.head (h4) of subsubsection
9.초반엔 숨겨지는 섹션
10.직접적인 HTML tag | code
11.Links | URLs to appropriate html
12.Figures
13.Maths or Equations
14.Codes
15.New Section
목차 (TOC) 섹션은 자동으로 닫히는 섹션입니다., 예를 들자면 다른 글자들은 이 안에 들어올 수 없습니다. 따라서 이 글자들은 목차 (TOC) 바깥에 위치하게 될겁니다.
TRefs.References and Related Articles
▼ Show/Hide
- Ref. [01] kipid's blog - HTML docuK format ver. 2.1;
// Updated regularly - Ref. [02] kipid's blog - docuK short copiable version;
// Updated regularly - Ref. [03] github.com - kipid - docuK
- Ref. [04] jQuery.com; and jQuery - download;
// JavaScript enhancer - Ref. [05] MathJax.org; and MathJax Documentation - latest; and The Core Configuration Options; and The MathJax.Hub Object;
// Math renderer. - Ref. [06] Google Code Prettify and Getting Started;
// Code prettyfier. - Ref. [07] jQuery - contents(): Get array of immediate children of element, including text nodes.
- Ref. [08] MDN - CSS full reference; and especially Pseudo-classes is useful. Ex:
element:nth-of-type(an + b) { style properties }
element:nth-child(an + b) { style properties }
- Ref. [09] LaTeX(라텍스, 레이텍) 소개 및 설명서(Guide)들, 2014-03-24
// 다른 이런류의 편집기가 많긴 하지만, 그 기원(?)이라고 할 수 있는게 TeX/LaTeX 일듯. 그런데 이건 책이나 논문을 만드는데 목적을 두고 만들어진 것이라서 pdf 같은걸로 결과물을 주기 때문에 인터넷, IT 기기에서 사용하기에는 부적합해 보이기도.
// 그래도 문법은 차용해서 쓰기 좋음. - Ref. [10] wikipedia.org;
// Wikipedia uses its own markdown language. - Ref. [11] stackoverflow.com;
// Stack Overflow uses its own markdown language. - Ref. [12] GitHub/adam-p - Markdown (GitHub); and live demo page
// This might be used in GitHub wiki.
▲ Hide
T10.직접적인 HTML tag | code
▼ Show/Hide
무언가 새로운 걸 배우고 외운다는게 쉽지 않고 시간이 걸린다는걸 알기에, 이 문서K 는 최대한 간단하게 만들었습니다. 그리고 이 문서K 가 해주는 일은 간단히 문자들로 형식화되어 쓰여긴 글을 HTML 로 적당히 바꿔주는 일일 뿐이기 때문에 새로운 문법은 최소화 시켰고 직접적인 HTML tag | code 를 활용하도록 만들었습니다.
Raw HTML can be added like this. A paragraph starting with '<' will be appended without any change.
Raw text is appended as a paragraph, enclosed by
<div class="p"></div>
.This is default comment box:
<div class="cmt"></div>
.You can put multiple paragraphs and nested htmls.
- Unordered list 1.
- Unordered list 2.
- Ordered list 1.
- Ordered list 2.
This is it.
This is default 'be careful' box:
<div class="bcf"></div>
.▲ Hide
T11.Links | URLs to appropriate html
▼ Show/Hide
Planning to implement this.
http://www.npr.org/blogs/health/2013/12/30/258376009/how-language-seems-to-shape-ones-view-of-the-world
How Language Seems To Shape One's View Of The World
, January 02, 2014, by ALAN YU.
▲ Hide
T13.Maths or Equations
▼ Show/Hide
Maths or Equations can be put by using \$TeX math\$,
<eq>TeX math</eq>
, and <eqq>TeX math</eqq>
.The first two are converted to inline maths like $\alpha \beta = \int f(\gamma) dx \sum_i \hat{H}_i$. The last one is converted to outline math like
(13-1)
\[ \alpha \beta = \int f(\gamma) dx \sum_i \hat{H}_i \]
(13-2)
\[ \begin{split}
\vec{x} &= x^{\bar{i}} \vec{e}_{\bar{i}} = x \vec{e}_x + y \vec{e}_y + z \vec{e}_z \\
&= x^{i} \vec{e}_{i} = r \vec{e}_r + \theta \vec{e}_{\theta} + \phi \vec{e}_{\phi} \\
&= x^{i'} \vec{e}_{i'} = u \vec{e}_u + v \vec{e}_v + w \vec{e}_w \\
\end{split} \]
▲ Hide
T14.Codes
▼ Show/Hide
Codes can be pretty-printed.
Using
<pre class="prettyprint scrollable lang-java">Codes to be pretty-printed.</pre>
,On the left side of codes is there a hiden button to toggle/switch scrollability ({max-height:some} or {max-height:none}).
import org.vertx.java.platform.Verticle; // Every Java verticle must extend the class org.vertx.java.platform.Verticle. You must override the start method - this is called by Vert.x when the verticle is started. import org.vertx.java.core.http.HttpServerRequest; public class HelloWorldServer extends Verticle { /////////////////////////////////////////////// // Called when the verticle is deployed. /////////////////////////////////////////////// @Override public void start() { ///////////////////////////////////////////// // Lambda exp with chaining. ///////////////////////////////////////////// vertx.createHttpServer().requestHandler( (HttpServerRequest req) -> { System.out.println("req.method(): "+req.method()); // GET, PUT, POST, DELETE, HEAD, OPTIONS, CONNECT, TRACE, PATCH req.response().putHeader("Content-Type","text/html"); req.response().end("<h1>Hello World</h1>"); req.response().close(); }).listen(1001); } /////////////////////////////////////////////// // Called when the verticle is undeployed. /////////////////////////////////////////////// @Override public void stop() { // do something. } }
Using
```Codes to be pretty-printed.```/
, or ```[Emmet style class and id attr like ".class-0.class-1#element-id"]Codes to be pretty-printed.```/
,Java vertx server code example
On the left side of codes is there a hiden button to toggle/switch scrollability ({max-height:some} or {max-height:none}).
import org.vertx.java.platform.Verticle; // Every Java verticle must extend the class org.vertx.java.platform.Verticle. You must override the start method - this is called by Vert.x when the verticle is started. import org.vertx.java.core.http.HttpServerRequest; public class HelloWorldServer extends Verticle { /////////////////////////////////////////////// // Called when the verticle is deployed. /////////////////////////////////////////////// @Override public void start() { ///////////////////////////////////////////// // Lambda exp with chaining. ///////////////////////////////////////////// vertx.createHttpServer().requestHandler( (HttpServerRequest req) -> { System.out.println("req.method(): "+req.method()); // GET, PUT, POST, DELETE, HEAD, OPTIONS, CONNECT, TRACE, PATCH req.response().putHeader("Content-Type","text/html"); req.response().end("<h1>Hello World</h1>"); req.response().close(); }).listen(1001); } /////////////////////////////////////////////// // Called when the verticle is undeployed. /////////////////////////////////////////////// @Override public void stop() { // do something. } }
▲ Hide







반응형
'[IT/Programming] > HTML related' 카테고리의 다른 글
HTML docuK format ver. 2.3 (2023-10-25) (4) | 2024.07.27 |
---|---|
Vertical center align by CSS in HTML (0) | 2024.05.05 |
HTML CSS composes, and pseudo-element :after, :active:after, and transition (0) | 2024.04.23 |
Super Easy Edit (SEE | 엄청 쉬운 편집) of docuK (문서K: MarkDown | 마크다운): 사용 설명서. (0) | 2024.04.23 |
VtoV Back-end 개발자용 과제 테스트 (1) | 2024.04.23 |
HTML a href tag with onclick return (2) | 2024.04.07 |
Email by JAVA (자바 프로그램을 이용해 이메일 보내기, com.sun.mail:jakarta.mail:2.0.1 :: 2021-04-06 에 update 가 끝나있는 오래된 library 임.) (2) | 2024.04.06 |