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
66571b72af
fix(hooks): fix commit hook scope checking
2024-04-25 19:14:15 -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
f5a01fbf1f
chore(git): create pre-commit hook for conventional commits
2024-04-25 15:12:17 -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
784fcb4608
fix: update cargo.toml
2024-04-24 20:27:21 -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
1dfbded739
chore: format flake.nix
2024-04-24 15:15: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
Gustavo "Guz" L. de Mello
9ae83a9118
fix: npf media object format
2024-04-02 14:08:26 -03:00
Gustavo "Guz" L. de Mello
79fc09afad
chore: remove debugging code
2024-04-02 12:36:02 -03:00
Gustavo "Guz" L. de Mello
473a02de1b
fix: handle errors
2024-04-02 12:35:46 -03:00
Gustavo "Guz" L. de Mello
7aa12c170d
fix: uncommited function
2024-04-02 12:34:26 -03:00
Gustavo "Guz" L. de Mello
09f8aa5480
feat: headings support
2024-04-01 17:00:17 -03:00
Gustavo "Guz" L. de Mello
f53069043a
feat: primitive quoteblock support
2024-04-01 16:59:59 -03:00
Gustavo "Guz" L. de Mello
b12657972c
feat: italic/emphasis support
2024-04-01 16:59:39 -03:00
Gustavo "Guz" L. de Mello
46125ea7f7
fix: serde_json deserialization of npf format and fields
2024-04-01 16:59:19 -03:00
Gustavo "Guz" L. de Mello
3ca249aa77
fix: Clone derivation just in case
2024-04-01 16:58:29 -03:00
Gustavo "Guz" L. de Mello
a7b444a17f
fix: struct typos
2024-04-01 16:56:15 -03:00
Gustavo "Guz" L. de Mello
82488606f8
feat: basic markdown text to npf conversion
2024-03-28 17:34:49 -03:00
Gustavo "Guz" L. de Mello
dd12171572
feat: NPF type definitions
2024-03-28 17:34:14 -03:00
Gustavo "Guz" L. de Mello
a9867f073b
feat: convert command and module
2024-03-28 17:33:22 -03:00
Gustavo "Guz" L. de Mello
61601670c3
feat: frontmatter manipulation command
2024-03-27 19:50:03 -03:00