Guilhem Fauré
|
079e156971
|
2 params paragraphs, paragraphs inside inline tags can start with block-specific startings
|
2023-05-09 11:36:45 +02:00 |
|
Guilhem Fauré
|
f7357998c9
|
improved output
|
2023-05-09 11:26:59 +02:00 |
|
Guilhem Fauré
|
08973616b0
|
parsing into normal flow
|
2023-05-09 11:13:47 +02:00 |
|
Guilhem Fauré
|
79a50d5e83
|
optional line break at end of list items
|
2023-05-09 10:59:57 +02:00 |
|
Guilhem Fauré
|
c9906c56cc
|
more strict table rules, more flexible hr rules
|
2023-05-09 10:51:01 +02:00 |
|
Guilhem Fauré
|
ca0e9af4b4
|
remove last priority, definin text non-starting char
|
2023-05-09 10:34:35 +02:00 |
|
Guilhem Fauré
|
b14137c1fd
|
fix closing inline tags
|
2023-05-09 10:15:53 +02:00 |
|
Guilhem Fauré
|
8fca926461
|
remove priorities
|
2023-05-09 10:10:45 +02:00 |
|
Guilhem Fauré
|
7d99e59c3d
|
parametric paragraph
|
2023-05-09 09:28:29 +02:00 |
|
Guilhem Fauré
|
07e1855a70
|
simpler inline tags img|emb|doc
|
2023-05-04 11:59:55 +02:00 |
|
Guilhem Fauré
|
a113ba79c5
|
fixed block/inline tags
|
2023-05-04 11:54:37 +02:00 |
|
Guilhem Fauré
|
8cc7d3640e
|
case insensitive tag regex
|
2023-05-04 11:35:46 +02:00 |
|
Guilhem Fauré
|
1ccc95b894
|
progress on supporting raw html tags
|
2023-05-03 17:00:15 +02:00 |
|
Guilhem Fauré
|
64a0deac93
|
footnotes & wikilinks OK
|
2023-05-03 16:32:36 +02:00 |
|
Guilhem Fauré
|
6f9ca8e3ba
|
fix orphan/pair tags
|
2023-05-03 16:22:16 +02:00 |
|
Guilhem Fauré
|
0f510459e2
|
tags ok
|
2023-05-03 16:06:23 +02:00 |
|
Guilhem Fauré
|
c0a7bc0f29
|
support for block & inline tags
|
2023-05-02 10:56:28 +02:00 |
|
Guilhem Fauré
|
d1702d6d19
|
higher priority for tables
|
2023-04-28 16:06:28 +02:00 |
|
Guilhem Fauré
|
afdf034f6e
|
tags can contain blocks
|
2023-04-28 16:05:08 +02:00 |
|
Guilhem Fauré
|
3add23a126
|
works better with lower priority paragraph
|
2023-04-28 15:46:48 +02:00 |
|
Guilhem Fauré
|
28ab3123df
|
switch to new grammar
|
2023-04-28 15:44:50 +02:00 |
|
Guilhem Fauré
|
1e59bb6833
|
new more flexible grammar
|
2023-04-28 15:44:19 +02:00 |
|
Guilhem Fauré
|
5ed12cf893
|
playing with priorities, use only -1
|
2023-04-28 12:50:54 +02:00 |
|
Guilhem Fauré
|
38c3eadea9
|
single test article with all the spip features
|
2023-04-28 12:47:40 +02:00 |
|
Guilhem Fauré
|
693f6aa3aa
|
simplified more flexible grammar
|
2023-04-28 12:40:25 +02:00 |
|
Guilhem Fauré
|
33f26c3ad5
|
first try more flexible grammar
|
2023-04-28 12:04:30 +02:00 |
|
Guilhem Fauré
|
e2d5dd421d
|
init new grammar with a more flexible approach based on lazy but general text .+? complemented with contextual positive lookaheads
|
2023-04-27 17:41:26 +02:00 |
|
Guilhem Fauré
|
6a6f6e6373
|
filter list type
|
2023-04-27 17:33:39 +02:00 |
|
Guilhem Fauré
|
a3dd9becd0
|
escaped braces support & escaping braces in test articles, as some syntax errors are just too hard to support (like closing curly brace in middle of normal text)
|
2023-04-27 17:18:32 +02:00 |
|
Guilhem Fauré
|
9f44397286
|
support for multi pipe metadata in tags
|
2023-04-27 17:03:29 +02:00 |
|
Guilhem Fauré
|
b87ed6c0fb
|
add 2 test articles
|
2023-04-27 17:00:53 +02:00 |
|
Guilhem Fauré
|
a497a3071b
|
support for quotes
|
2023-04-27 16:58:24 +02:00 |
|
Guilhem Fauré
|
a313af6483
|
support for table metadata
|
2023-04-27 16:48:11 +02:00 |
|
Guilhem Fauré
|
9a5735c046
|
prevent creation of tokens for each text that seems like markup
|
2023-04-27 16:36:39 +02:00 |
|
Guilhem Fauré
|
d30e8d07ee
|
support for tags (mostly custom HTML & images)
|
2023-04-27 15:52:12 +02:00 |
|
Guilhem Fauré
|
a191e16eb3
|
second test article
|
2023-04-27 15:17:23 +02:00 |
|
Guilhem Fauré
|
cb36324e9a
|
don’t use inner text as text is now more strict anyway
|
2023-04-27 15:16:30 +02:00 |
|
Guilhem Fauré
|
62558d2713
|
created precise terminals with preventive lookaheads, named every terminal
|
2023-04-27 14:49:19 +02:00 |
|
Guilhem Fauré
|
42276b5b5c
|
use lazy repetion for text, simplification of grammar
|
2023-04-27 11:39:59 +02:00 |
|
Guilhem Fauré
|
06dc438038
|
higher priority for separators over pure text
|
2023-04-26 15:04:58 +02:00 |
|
Guilhem Fauré
|
3fe19a8ec6
|
html aliases for links, but paragraphs are priorized
|
2023-04-26 15:02:33 +02:00 |
|
Guilhem Fauré
|
0e5442e98e
|
html like aliases
|
2023-04-26 14:36:56 +02:00 |
|
Guilhem Fauré
|
fc575696ba
|
prettier test output
|
2023-04-26 14:29:41 +02:00 |
|
Guilhem Fauré
|
c7438403e0
|
working grammar
|
2023-04-26 14:29:14 +02:00 |
|
Guilhem Fauré
|
f62c634880
|
filter start if only one child, newline problem
|
2023-04-26 11:55:00 +02:00 |
|
Guilhem Fauré
|
5f9b1054ed
|
don’t filter N, test with first test file for now
|
2023-04-26 11:48:01 +02:00 |
|
Guilhem Fauré
|
68ccfcbf5d
|
test function
|
2023-04-26 11:41:18 +02:00 |
|
Guilhem Fauré
|
d7247e805a
|
simplified grammar, start in .lark file
|
2023-04-26 11:34:17 +02:00 |
|
Guilhem Fauré
|
236e9e39d4
|
simplified grammar, it parses !
|
2023-04-26 11:13:47 +02:00 |
|
Guilhem Fauré
|
f4195936eb
|
moved test files to dedicated folder, corrected test file to debug grammar
|
2023-04-26 10:01:57 +02:00 |
|
Guilhem Fauré
|
370e0445be
|
TAG rule for special markup
|
2023-04-25 16:28:01 +02:00 |
|
Guilhem Fauré
|
ab323047ff
|
fix lark syntax, it "compiles"
|
2023-04-25 16:00:28 +02:00 |
|
Guilhem Fauré
|
c399439e32
|
lark syntax in separate file
|
2023-04-25 15:50:08 +02:00 |
|
Guilhem Fauré
|
bb4c8ccb23
|
separate paragraph & text, more precise pure_text but more rigid than reference implementation
|
2023-04-25 14:46:41 +02:00 |
|
Guilhem Fauré
|
2132fdfd68
|
add terminals spip syntax
|
2023-04-25 14:31:25 +02:00 |
|
Guilhem Fauré
|
dbf9de70c7
|
started defining syntax with Lark in EBNF
|
2023-04-25 12:21:44 +02:00 |
|
Guilhem Fauré
|
6bec415540
|
clean imports
|
2023-04-25 09:56:03 +02:00 |
|
Guilhem Fauré
|
a0d66fb2e5
|
add lark to build a parser
|
2023-04-25 09:52:45 +02:00 |
|
Guilhem Fauré
|
723feddac5
|
database params in CONFIG + clean
|
2023-04-25 09:33:02 +02:00 |
|
Guilhem Fauré
|
aa64c9a6d7
|
start syntax conversion
|
2023-04-24 17:08:23 +02:00 |
|
Guilhem Fauré
|
0ab27b528a
|
start syntax conversion
|
2023-04-24 16:55:01 +02:00 |
|
Guilhem Fauré
|
2dbf9c4e58
|
draft metadata
|
2023-04-24 16:26:07 +02:00 |
|
Guilhem Fauré
|
c19c057755
|
more term info
|
2023-04-24 16:22:27 +02:00 |
|
Guilhem Fauré
|
5c78a896ec
|
increased default export limit to 1000 articles & better term output
|
2023-04-24 16:15:11 +02:00 |
|
Guilhem Fauré
|
69d713dca5
|
keep only 1 lang in multi-lang titles
|
2023-04-24 16:14:20 +02:00 |
|
Guilhem Fauré
|
a7ca45f731
|
basic metadata compatible with hugo
|
2023-04-24 14:59:42 +02:00 |
|
Guilhem Fauré
|
cc07869989
|
switch to newer slugifier
|
2023-04-24 14:36:20 +02:00 |
|
Guilhem Fauré
|
b517e726cb
|
ascii only in file slugs, WARNING undocumented option
|
2023-04-24 14:14:32 +02:00 |
|
Guilhem Fauré
|
d29aa331d6
|
unicode in yaml & better term output
|
2023-04-24 14:12:20 +02:00 |
|
Guilhem Fauré
|
b8e72b2f38
|
unicode in yaml & better term output
|
2023-04-24 14:11:18 +02:00 |
|
Guilhem Fauré
|
7d6340b7e8
|
sort imports
|
2023-04-24 11:49:24 +02:00 |
|
Guilhem Fauré
|
a178477195
|
conditional sections
|
2023-04-21 17:14:42 +02:00 |
|
Guilhem Fauré
|
a45a67b30b
|
handle every non-cryptic metadata that doesn’t need joins
|
2023-04-21 17:03:20 +02:00 |
|
Guilhem Fauré
|
7d57ee60fb
|
clean
|
2023-04-21 16:01:45 +02:00 |
|
Guilhem Fauré
|
3cc9b22a58
|
black formatting
|
2023-04-21 15:58:29 +02:00 |
|
Guilhem Fauré
|
b6d5640411
|
use Peewee ORM to modelize DB + use external CONFIG file
|
2023-04-21 15:07:49 +02:00 |
|
Guilhem Fauré
|
c62c516541
|
export to bundles of articles/index.md
|
2023-04-21 13:46:34 +02:00 |
|
Guilhem Fauré
|
b6097f336e
|
fix name
|
2023-04-21 12:18:57 +02:00 |
|