From 918b14de52b74d67e87cf5fe56886e7187827e50 Mon Sep 17 00:00:00 2001 From: PoiScript Date: Mon, 21 Jan 2019 22:51:40 +0800 Subject: [PATCH] docs: update STATUS.md --- STATUS.md | 4 +++- src/elements/list.rs | 1 - src/parser.rs | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/STATUS.md b/STATUS.md index 7b7d693..fd642d0 100644 --- a/STATUS.md +++ b/STATUS.md @@ -9,7 +9,9 @@ - [ ] Dynamic Blocks - [x] Footnote Definitions - [ ] Inlinetasks -- [ ] Plain Lists and Items +- [x] Plain Lists and Items + - [x] Nested List + - [ ] Nested List Indentation - [ ] Property Drawers - [ ] Tables diff --git a/src/elements/list.rs b/src/elements/list.rs index 1476f50..05a10aa 100644 --- a/src/elements/list.rs +++ b/src/elements/list.rs @@ -50,7 +50,6 @@ impl List { } // returns (contents_begin, contents_end) - // TODO: handle nested list pub fn parse_item(src: &str, ident: usize) -> (usize, usize) { let beg = src[ident..].find(' ').map(|i| ident + i + 1).unwrap(); let mut lines = lines!(src); diff --git a/src/parser.rs b/src/parser.rs index 29e2828..d42235e 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -433,7 +433,6 @@ impl<'a> Iterator for Parser<'a> { if self.off >= end { self.end() } else { - // TODO: handle nested list self.next_ele(end) } }