markdown,

Markdown 마크다운

Software-engineer Software-engineer Follow Sep 24, 2020 · 3 mins read
Markdown 마크다운
Share this

Posts using the Jekyll like this blog are converted to html accroading to the _post template. Articles are written based on the _post template and the Markdown extension document. These articles has a .markdown, .md extension. Markdown documents are easier to write than HTML or JAVA, and have the advantage of supporting many platforms.

이 블로그와 같이 Jekyll theme을 사용하는 글들은 _post 템플릿에 따라 작성 글이 html로 변환된다. _post 템플릿은 Markdown 확장자 문서를 바탕으로 작성되며 .md .markdown 확장자를 가진다.
Markdown 문서는 HTML이나 JAVA보다 손쉽게 글을 작성할 수 있게 하며 많은 플랫폼을 지원하고 사용자가 많다는 장점이 있다.

Markdown 마크다운이란

Markdown is a plain text-based lightweight markup laaguage created in 2004 by John Gruber and Aaron Swartz. They created the Markdown language with the goal of “Easy-to-read, easy-to-write, plain text format, optionally convert it to structurally valid XHTML (or HTML)”. Unlike markup languages such as html or RTF which are clearly classified as tag, markdown languages focus on readability. Markdown is widely used since it can be easily converted to html and is used in Github. Anyone who has used Github sees readme.md as soon as they create their first repository, and the .md file is the Markdown document. Besides Github, it is used by various programs to write readme files. In addition, since Markdown file is saved as text format, the capacity is small, and it is easy to manage the change history through the version control system.

마크다운이란 일반 텍스트 기반의 경량 마크업 언어로 2004년 존 그루버와 에런 스워츠에 의해 만들어졌다. 그들은 “쉽게 쓰고, 쉽게 읽을 수 있는 텍스트 기반 언어이면서 HTML로 변환가능한 언어” 를 만들기 위해 마크다운 언어를 만들었다. tag 로 명확하게 분류되는 html or RTF 와 같은 마크업 언어와는 다르게 마크다운 언어는 가독성에 집중하고 있다. 마크다운은 html로 쉽게 변환이 가능하다는 점과 Github에서 사용된다는 점 때문에 많이 사용되고 있다. 깃허브를 사용해본 사람이라면 누구나 첫 번째 저장소를 만들자마자 readme.md를 접하게 되는데 이때 .md 파일이 바로 마크다운 문서이다. 깃허브 외에도 다양한 프로그램들에서 readme 파일 작성에 사용된다. 또한 마크다운 파일은 텍스트로 파일이 저장되기 때문에 용량이 작고 버전 관리 시스템을 통한 변경이력 관리가 손쉽다.

Markdown pros and cons 마크다운 장단점

Pros Cons
Easy to write and edit No strict standard
Straightforward and easy grammar Low deformability
Various supported platforms and programs Does not replace all HTML markup
장점 단점
쉬운 작성 & 수정 표준이 없다
직관적인 문법 낮은 변형성
다양한 지원 가능 플랫폼 & 프로그램 모든 HTML 마크업을 대신하지 못함

Markup Markdown difference 마크업 마크다운 차이

Talk about the difference between markup and Markdown is acutally meaningless. This is because Markdown is a markup languange. John Gruber and Aaron Swartz just named Markdown as an ironic expression in order to emphasize readability, which is the direction of Markdown. Markup language is a syntax surrounded by marks. Here, a mark can be interpreted as a tag, and a language structure that defines the stlye and format of a document with tags such as HTML and XML is called a markup language.

마크업과 마크다운의 차이를 말하는 것은 사실 의미 없다. 마크다운이 마크업 언어이기 때문이다. 존 그루버와 에런 스워츠가 마크다운을 만들때의 지향점인 readability를 강조하기 위해 반어적 표현으로써의 명명을 Markdown으로 했을 뿐이다. 마크업 언어는 마크로 둘러쌓인 언어이다. 여기서 마크는 태그로 해석할 수 있으며, HTML, XML과 같이 태그로 문서의 스타일, 구조 등을 정의하는 언어구조를 마크업 언어라고 말한다.

Reference

  • Markdown related
    https://ko.wikipedia.org/wiki/%EB%A7%88%ED%81%AC%EB%8B%A4%EC%9A%B4
  • Markup & Markdown related
    https://cordelia273.space/15
Software-engineer
Written by Software-engineer
Software engineer Youn