Gustavo "Guz" L. de Mello
73d55c84b0
fix(npf): check if vectors has element before accessing them
2024-05-02 14:01:08 -03:00
Gustavo "Guz" L. de Mello
25e94fc788
fix(npf): add indented as subtype in blockquote conversion
2024-05-02 12:20:06 -03:00
Gustavo "Guz" L. de Mello
4cd950a16f
feat(images): quick implementation of image manipulation command
2024-05-02 11:36:58 -03:00
Gustavo "Guz" L. de Mello
69c6e6b17e
feat(links): remove link command
2024-05-01 17:02:17 -03:00
Gustavo "Guz" L. de Mello
400ec56531
fix(links): remove unecessary clone
2024-05-01 17:01:47 -03:00
Gustavo "Guz" L. de Mello
0366ba6de5
refactor(links)!: rearange link command arguments to follow frontmatter command style
2024-05-01 15:57:13 -03:00
Gustavo "Guz" L. de Mello
ca28de9398
feat(frontmatter): insert and extract commands
2024-05-01 10:30:13 -03:00
Gustavo "Guz" L. de Mello
2da44ba48a
feat(frontmatter): convert results to json argument
2024-05-01 10:12:00 -03:00
Gustavo "Guz" L. de Mello
39fa46b644
fix(frontmatter): value parsing to corret yaml value type
2024-05-01 10:04:26 -03:00
Gustavo "Guz" L. de Mello
341b8ec0b0
feat: nix flake support
2024-04-30 21:24:41 -03:00
Gustavo "Guz" L. de Mello
9a702969bc
fix: imports after rename
2024-04-30 19:40:07 -03:00
Gustavo "Guz" L. de Mello
30b7feca5a
fix(frontmatter): not working frontmatter command
2024-04-30 19:29:00 -03:00
Gustavo "Guz" L. de Mello
bd5e9a48be
chore: clean-up
2024-04-29 16:04:07 -03:00
Gustavo "Guz" L. de Mello
48d4b0eb99
feat(cli): command for converting the format
2024-04-29 16:03:47 -03:00
Gustavo "Guz" L. de Mello
9b232d3d51
fix(npf): blockquote suppoer commit
2024-04-29 15:31:07 -03:00
Gustavo "Guz" L. de Mello
fe2d7ad3b9
refactor(npf): reorder post's properties
2024-04-29 15:30:49 -03:00
Gustavo "Guz" L. de Mello
5593bb2107
feat(npf): blockquote support
2024-04-29 15:29:27 -03:00
Gustavo "Guz" L. de Mello
acb31c910f
feat(npf): prototype headings support
2024-04-29 15:15:02 -03:00
Gustavo "Guz" L. de Mello
b1ed042dad
fix(npf): remove unecessary parent check
2024-04-29 14:58:03 -03:00
Gustavo "Guz" L. de Mello
21e42dec52
feat(npf): prototype image support
2024-04-29 14:50:06 -03:00
Gustavo "Guz" L. de Mello
13425b31e4
test(npf): runtime and debug_assertions to check any error as soon as possible
2024-04-26 17:17:35 -03:00
Gustavo "Guz" L. de Mello
d673d17e42
feat(mentions): add support for converting links with uuid to mentions
2024-04-26 16:13:54 -03:00
Gustavo "Guz" L. de Mello
a9dec05933
test(npf): add basic tests for the conversion
2024-04-26 15:11:44 -03:00
Gustavo "Guz" L. de Mello
3b8b834521
refactor(npf): simplify TryFrom implementation and NPF folding
2024-04-25 19:11:07 -03:00
Gustavo "Guz" L. de Mello
498a9ed57f
feat(npf): link conversion and error handling
2024-04-25 16:35:48 -03:00
Gustavo "Guz" L. de Mello
4bdf0fcdb4
feat(npf): strikethrough conversion
2024-04-25 16:35:21 -03:00
Gustavo "Guz" L. de Mello
dc1550dcc6
refactor!: remove .get_type from BlockValue
2024-04-25 10:38:41 -03:00
Gustavo "Guz" L. de Mello
cba408d562
refactor: create push_formatting for BlockText
2024-04-24 20:32:31 -03:00
Gustavo "Guz" L. de Mello
41cb734457
refactor: improve Post's api for the conversion
2024-04-24 20:27:06 -03:00
Gustavo "Guz" L. de Mello
b57435c728
refactor: move Post to it's own file
2024-04-24 20:25:57 -03:00
Gustavo "Guz" L. de Mello
21130a2cc2
fix: commit missing function
2024-04-24 15:15:22 -03:00
Gustavo "Guz" L. de Mello
03409dfd29
feat: prototype of the markdown to npf conversion
2024-04-24 15:15:02 -03:00
Gustavo "Guz" L. de Mello
468f8cf0dc
refactor: move npf blocks and objects to their respective files
2024-04-23 16:42:06 -03:00
Gustavo "Guz" L. de Mello
735b8b9392
feat: post and layout structs
2024-04-23 15:36:37 -03:00
Gustavo "Guz" L. de Mello
9db060c420
refactor: improve the api for the structs and remove Default public implementation
2024-04-23 15:35:56 -03:00
Gustavo "Guz" L. de Mello
0e916be2e0
refactor!: rewrote all npf types and remove old npf code
2024-04-22 16:05:52 -03:00
Gustavo "Guz" L. de Mello
8a595d78f3
refactor!: frontmatter command and manipulation
2024-04-18 21:51:18 -03:00
Gustavo "Guz" L. de Mello
c26c9cf888
chore: remove dead code
2024-04-18 13:44:12 -03:00
Gustavo "Guz" L. de Mello
6a728655b0
fix!: writing to same output as input
...
Putting the same file as input and output made the file end up blank,
this seems to be normal behaviour on bash and the terminal works, so the
cli was fixed to reflect more transparently that behaviour. Now the
input is always the last parameter. And for convinience, a write option
was made to write to the same file as the input.
2024-04-18 13:40:49 -03:00
Gustavo "Guz" L. de Mello
11c38216ac
refactor: simplify links mod
2024-04-17 18:49:33 -03:00
Gustavo "Guz" L. de Mello
5f2c3a196e
chore: remove unused code
2024-04-17 18:23:43 -03:00
Gustavo "Guz" L. de Mello
fe1c3ebcdf
fix: error handling on input reading
2024-04-17 18:22:08 -03:00
Gustavo "Guz" L. de Mello
05df269c70
feat: surpress-erros argument logic
2024-04-17 18:17:03 -03:00
Gustavo "Guz" L. de Mello
0f6ebb32fb
chore: remove debugging print statement
2024-04-17 18:13:38 -03:00
Gustavo "Guz" L. de Mello
0d2fa0e62f
feat: error result handling
2024-04-17 18:06:18 -03:00
Gustavo "Guz" L. de Mello
43bc232063
refactor!: links command and cli logic
2024-04-17 17:31:09 -03:00
Gustavo "Guz" L. de Mello
81ed99b323
feat: write json file
2024-04-02 17:49:37 -03:00
Gustavo "Guz" L. de Mello
ee40337e04
fix: serde json output
2024-04-02 17:49:23 -03:00
Gustavo "Guz" L. de Mello
d59d3a2849
feat: primitive image and video support
2024-04-02 14:09:55 -03:00
Gustavo "Guz" L. de Mello
a0fb5676eb
fix: ignore non-markdown files
2024-04-02 14:09:25 -03:00