마크다운에는 들여쓰기를 위한 문법이 없습니다. .> ..> ...> — 시각적 깊이로 계층을 표현하는 확장 문법을 제안합니다.Markdown has no dedicated indentation syntax. We propose .> ..> ...> — a minimal extension for expressing semantic hierarchy through visual indentation.
문서에서 시각적 깊이는 작아 보여도 가독성을 크게 좌우합니다. 하지만 마크다운에는 들여쓰기 문법이 없고, 우회법은 전부 다른 문법을 억지로 빌려 쓸 뿐입니다.Visual depth may seem minor, but it makes a real difference in readability. Markdown has no syntax for indentation, and every workaround misuses something else.
규칙은 간단합니다. 줄 시작에 .>를 쓰고, 점 개수로 깊이를 나타냅니다.The rule is simple. Start a line with .> and express depth by the number of dots.
| Syntax | HTML Output | 설명Description |
|---|---|---|
| .> text | <div class="indent-1"> | 1단계 들여쓰기Indent level 1 |
| ..> text | <div class="indent-2"> | 2단계 들여쓰기Indent level 2 |
| ...> text | <div class="indent-3"> | 3단계 들여쓰기Indent level 3 |
| ....> text | <div class="indent-4"> | 4단계 들여쓰기Indent level 4 |
>와 같은 모델Container block — same model as >.>는 >와 같은 container block입니다. lazy continuation이 가능하고, 빈 줄이면 컨테이너가 끝납니다..> is a container block, same model as >. Lazy continuation is allowed. An empty line terminates the container.
> >와 같은 패턴Deeper depth = nesting — same pattern as > >>가 lazy continuation을 쓰는 이유도 이것입니다 — 쓰는 사람의 흐름을 우선한 설계..>는 이 검증된 패턴을 따릅니다. 접두사로 시작하고, 빈 줄로 끝납니다..>는 항상 줄 시작(column 0)에서만 동작합니다.The mental model of "indentation" is an area, not a per-line declaration. In word processors, indent persists until explicitly removed.> supports lazy continuation — prioritizing natural writing flow..> follows this proven pattern. A prefix opens the area; an empty line closes it..> only opens a new container at column 0..>로 시작하는 줄은 현재 어떤 파서에서도 특별한 의미가 없습니다..> at line start has no special meaning in any current parser.
.>, ..>, ...> — 점이 늘어나는 모양만으로 깊이가 읽힙니다. 렌더링 전에도 구조가 보입니다..>, ..>, ...> — the growing dots convey depth visually even in raw text. Structure is visible before rendering.
>는 인용, .>는 들여쓰기. 의도와 결과가 일치합니다.> for quoting, .> for indenting. Intent matches output.
지원하지 않는 파서에서도 일반 텍스트로 보입니다.On unsupported parsers, it just shows as plain text.
정규식 한 줄 /^(\.{1,4})>\s(.+)$/로 파싱할 수 있습니다.One regex /^(\.{1,4})>\s(.+)$/ handles all parsing.
.과 >는 같은 물리 키입니다. . → Shift+. — 손가락이 키에서 떠나지 않습니다. 깊이를 늘리려면 .을 한 번 더 누르면 됩니다.. and > share the same physical key. . → Shift+. — your finger never leaves the key. Deeper indent is just one more . press.
계층 없는 텍스트는 맥락을 잃기 쉽습니다. 같은 내용이라도 계층이 보이면 이해 속도와 정확도가 달라집니다.Flat text loses context. The same information, when layered explicitly, is understood faster and more accurately.
.>가 명시적 트리 구조를 제공하면 맥락 파악 비용이 줄어듭니다.LLMs must infer hierarchy from tokens. .> provides an explicit tree structure, reducing context-parsing cost.의견이나 제안은 GitHub 이슈로 남겨 주세요.Feedback and ideas are welcome — open an issue on GitHub.