duras/sigline
SHA256
1
1
Fork
You've already forked sigline
1
Sigil-per-line structured text https://duras.codeberg.page/sigline/
2026年06月22日 17:04:18 +03:00
.gitignore Initial commit 2026年06月22日 15:12:07 +02:00
CHANGES.md Initial commit 2026年06月22日 17:04:18 +03:00
HOWTO.md Initial commit 2026年06月22日 17:04:18 +03:00
LICENSE Initial commit 2026年06月22日 16:55:34 +03:00
README.md Initial commit 2026年06月22日 17:01:57 +03:00
SPEC.md Initial commit 2026年06月22日 16:55:34 +03:00

sigline

Sigil-per-line structured text.

A minimal plain-text format for notes. The first character of each line declares its semantic type. No context-sensitive parsing, no nesting model, no ambiguity.

Files are written by hand in any text editor and convert to semantic HTML or structured text.

Syntax

title: Document Title ← metadata (front matter)
date: 2026年06月22日
# Section ← heading (#, ##, ### — three levels)
Plain prose. ← paragraph (no sigil)
> Lead sentence. ← section introduction (once per section)
! Warning text. ← danger / do not skip
~ Note text. ← informational tip
| Quoted text. ← blockquote / citation
- List item ← unordered list
1. List item ← ordered list
term :: definition ← definition list
```sh ← code block (language tag required)
command here
```
```output ← terminal output
result here
```
%% Comment. ← never appears in output

Multi-line blocks use line-prefix repetition — every line in a warning starts with !, every line in a note starts with ~, and so on. Fences (```) are used only for verbatim content where exact formatting must be preserved.

Files

  • Extension: .sl
  • Encoding: UTF-8
  • Line endings: LF

Validation

Condition Severity Behaviour
#### or deeper heading error halt conversion
Second > block in same section warning degrade to paragraph
> block outside any section warning degrade to paragraph

Repository layout

README.md this file
SPEC.md full technical specification
HOWTO.md plain-English user guide
CHANGES.md changelog
LICENSE ISC
index.html visual syntax reference

Licence

ISC. See LICENSE.