Sergio Martínez Portela
dbafafcba5
Indent list-group inside current node if part of a block.
2022-11-03 23:35:56 +01:00
Sergio Martínez Portela
3be4475ddf
Support get_raw_contents of list groups.
2022-11-03 23:01:21 +01:00
Sergio Martínez Portela
440f0bd4b7
Properly fix parsing of lists inside drawers.
2022-11-01 19:58:17 +01:00
Sergio Martínez Portela
fc9ce664ae
Unify drawer node classes under a common parent.
2022-11-01 19:58:03 +01:00
Sergio Martínez Portela
d1d5de89b7
Revert "Fix parsing of lists inside drawers."
...
This reverts commit 5e4a9f8ff2
.
The tree should not be modified, as it's the returned value. We need an
additional tree for parent-child element connections.
2022-11-01 19:14:14 +01:00
Sergio Martínez Portela
5e4a9f8ff2
Fix parsing of lists inside drawers.
2022-10-31 21:50:18 +01:00
Sergio Martínez Portela
2748f6400b
Make token_list_to_plaintext
skip link's URL.
2022-10-21 20:14:57 +02:00
Sergio Martínez Portela
7beec0be05
Fix link building on text_to_dom.
2022-09-29 23:24:20 +02:00
Sergio Martínez Portela
3dc6213abb
Handle list items where the tag is composed only by the checkbox.
2022-09-29 20:32:26 +02:00
Sergio Martínez Portela
d69bf97163
Require whitespace after list bullet.
2022-09-29 20:25:48 +02:00
Sergio Martínez Portela
28d8b69146
Export table on as_dom
.
2022-09-27 23:55:07 +02:00
Sergio Martínez Portela
c2968283f3
feat: Add base support for tables.
2022-09-27 23:36:32 +02:00
Sergio Martínez Portela
7b7c186b83
feat: Handle greater blocks different from SRC ones.
2022-08-28 21:23:44 +02:00
Sergio Martínez Portela
0e90abbb63
feat: Support markup inside headline titles.
2022-08-28 14:08:54 +02:00
Sergio Martínez Portela
baaa7cbb86
Return None when asked to text_to_dom
None.
...
This should desambiguate the base data semantics.
2022-08-27 13:06:08 +02:00
Sergio Martínez Portela
f3ca823b0c
Merge branch 'fix/confusing-links' into develop
2022-08-27 13:03:52 +02:00
Sergio Martínez Portela
efadb7814a
Fix handling of links with []
characters around them.
2022-08-27 13:02:10 +02:00
Sergio Martínez Portela
bd4e4f8cb4
Add (failing) tests for confusing links (close to []
).
2022-08-27 13:02:01 +02:00
Sergio Martínez Portela
121ad46680
Support text markup on list tags.
2022-08-26 19:04:50 +02:00
Sergio Martínez Portela
2b2af7004a
Fix closing links when converting tokens to DOM.
2022-08-20 15:22:16 +02:00
Sergio Martínez Portela
79fd20a472
Add link test with more trailing text.
2022-08-20 15:07:19 +02:00
Sergio Martínez Portela
434fb8ab0e
Support non-recursive dump_headline
.
2022-06-19 21:46:39 +02:00
Sergio Martínez Portela
eb3c789fad
Raise caution errors as NonReproducibleDocument.
2022-06-19 21:46:14 +02:00
Sergio Martínez Portela
6b8b4de21e
Use Optional for types that might be None.
2022-06-05 23:32:32 +02:00
Sergio Martínez Portela
a67bde58d0
Fix repetition on dates with start+end times.
2022-06-05 23:32:28 +02:00
Sergio Martínez Portela
63bb1e67e0
Handle :RESULTS: drawer, and data inside :LOGBOOK:
2022-05-16 23:17:28 +02:00
Sergio Martínez Portela
c87a50f365
Fix handling of Headline hierarchy.
2022-05-16 23:16:20 +02:00
Sergio Martínez Portela
eacbcce376
Avoid false-positives when detecting headlines.
...
A space should be present after the leading '*' to avoid detection
of lines that start with bolded text.
2022-05-15 23:39:35 +02:00
Sergio Martínez Portela
7a9cff57f9
Simplify parsing of CodeBlocks.
2022-05-07 23:33:32 +02:00
Sergio Martínez Portela
afd02f55d4
Improve DOM aggregation of CodeBlocks.
2022-05-07 23:02:18 +02:00
Sergio Martínez Portela
cfce08eed0
Handle OrgDoc's ID.
2022-05-07 12:53:09 +02:00
Sergio Martínez Portela
9b550ed2ea
Handle links on DOM's LinkItem.
2022-05-06 20:18:44 +02:00
Sergio Martínez Portela
9ef2a8ece6
Handle links in dom's text.
2022-05-06 15:54:14 +02:00
Sergio Martínez Portela
3da2ab066c
Add helper to get document from a Headline.
2022-03-28 00:49:32 +02:00
Sergio Martínez Portela
52d8cf59ce
Read raw contents via key names, not positions.
2022-02-14 23:09:43 +01:00
Sergio Martínez Portela
d00937c6eb
When reporting problematic blocks, focus on the relevant lines.
2021-10-24 23:15:22 +02:00
Sergio Martínez Portela
fc166e41a1
Consider SEQ_TODO for TODO keywords.
2021-10-24 23:06:35 +02:00
Sergio Martínez Portela
f79d52a16d
Add support for nested lists on as_dom().
2021-09-04 00:01:21 +02:00
Sergio Martínez Portela
bd31c67eea
Complete initial step of conversion of notes.
2021-08-30 00:09:52 +02:00
Sergio Martínez Portela
fdd532e424
Improve handling of drawers, avoid adding lines not asked for.
2021-08-29 23:54:51 +02:00
Sergio Martínez Portela
c08eb0a7cb
Draft conversion to DOM tree.
2021-08-27 00:22:25 +02:00
Sergio Martínez Portela
bd57dff091
Close PROPERTY drawers when there's no empty lines between headlines.
2021-08-14 17:40:08 +02:00
Sergio Martínez Portela
a164653cd0
Support update of content inside lists.
2021-08-04 00:06:18 +02:00
Sergio Martínez Portela
7e944bcb3d
Add support for markdown and link parsing on lists.
2021-08-03 23:05:15 +02:00
Sergio Martínez Portela
7cf643200e
Upload version to PyPI.
2021-08-03 23:04:36 +02:00
Sergio Martínez Portela
6943ebad7c
Add support for org-roam-v2 style files.
2021-08-03 22:37:03 +02:00
Sergio Martínez Portela
3b6358c195
Add method to get OrgDoc property.
2021-08-03 22:15:38 +02:00
Sergio Martínez Portela
72d5cadb96
Improve NODE_PROPERTIES parsing.
2021-08-03 22:13:41 +02:00
Sergio Martínez Portela
fdc475cb19
Add comparison operations to Timestamp.
2021-04-10 11:13:30 +02:00
Sergio Martínez Portela
af1e5e6f3d
Don't confuse ': plaintext' with :NODE_PROPERTIES: .
2021-04-08 23:50:55 +02:00