Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Write a language parser for vimwiki using nom #8

Closed
67 tasks done
chipsenkbeil opened this issue Aug 13, 2020 · 0 comments
Closed
67 tasks done

Write a language parser for vimwiki using nom #8

chipsenkbeil opened this issue Aug 13, 2020 · 0 comments
Milestone

Comments

@chipsenkbeil
Copy link
Owner

chipsenkbeil commented Aug 13, 2020

Top-level issue for writing a vimwiki parser. Can test out with a couple of my own pages, but needs to support parsing the entire vimwiki language, supporting hierarchy and proper testing.

  • Typefaces (vimwiki-syntax-typefaces)
    • Bold text
    • Italic text
    • Bold italic text
    • Strikeout text
    • Code (no syntax) text
    • Super script
    • Sub script
  • Links (vimwiki-syntax-links)
    • Plain link
    • Link with description
    • Subdirectory link
    • Relative link
    • Absolute link
    • External local box links (// prefix)
    • Subdirectory links
    • Interwiki links
    • Diary links
    • Anchors (under links and vimwiki-anchors)
    • Raw URLs
    • External files (file: or local:)
    • Transclusion (wiki-include) links
    • Thumbnail links
  • Headers (vimwiki-syntax-headers)
    • Normal header with levels
    • Centered header (spaces in front)
  • Paragraphs (vimwiki-syntax-paragraphs)
    • Group of lines starting in column 1 (no indentation)
    • Blank line separating paragraphs
  • Lists (vimwiki-syntax-lists)
    • Unordered
    • Ordered
    • Nested (for either of above)
    • Spanning multiple lines
    • Spanning multiple lines with sub items inbetween
    • Definition lists
    • Todo lists (vimwiki-todo-lists)
  • Tables (vimwiki-syntax-tables and vimwiki-tables)
    • Plain text version
    • Formatting inside each cell
    • Divider rows
  • Preformatted text (vimwiki-syntax-preformatted)
    • Plain block
    • Optional information after {{{
  • Mathematical formulae (vimwiki-syntax-math)
    • Inline math
    • Block display
    • Block environment
  • Blockquotes (vimwiki-syntax-blockquotes)
    • Four or more spaces
    • Prefixed with >
  • Comments (vimwiki-syntax-comments)
    • Single line using %%
    • Multi-line using %%+ and +%%
  • Horizontal line (vimwiki-syntax-hr)
    • Four or more dashes at start of line
  • Tags (vimwiki-syntax-tags)
    • Single tag :name:
    • Multi-tag :name1:name2:...
    • Mapping to file (first two lines of file)
    • Mapping to header (first two lines below header)
    • Standalone mode
  • Placeholders (vimwiki-placeholders)
    • Title (vimwiki-title)
    • No HTML (vimwiki-nohtml)
    • Template (vimwiki-template)
    • Date (vimwiki-date)
@chipsenkbeil chipsenkbeil created this issue from a note in vimwiki-server (To do) Aug 13, 2020
@chipsenkbeil chipsenkbeil moved this from To do to In progress in vimwiki-server Aug 16, 2020
@chipsenkbeil chipsenkbeil added this to the MVP milestone Aug 18, 2020
@chipsenkbeil chipsenkbeil removed this from In progress in vimwiki-server Sep 9, 2020
@chipsenkbeil chipsenkbeil added this to To do in vimwiki-core via automation Sep 9, 2020
@chipsenkbeil chipsenkbeil moved this from To do to In progress in vimwiki-core Sep 9, 2020
vimwiki-core automation moved this from In progress to Done Sep 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
vimwiki-core
  
Done
Development

No branches or pull requests

1 participant