Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor part II: refactor mddb code to use new code (process.ts) #58

Closed
5 tasks done
rufuspollock opened this issue Nov 17, 2023 · 0 comments
Closed
5 tasks done
Assignees

Comments

@rufuspollock
Copy link
Member

rufuspollock commented Nov 17, 2023

Next step in refactoring started in #47, specifically

Acceptance

Notes

graph TD

markdown --remark-parse--> st[syntax tree]
st --extract features--> jsobj1[TS Object eg. File plus Metadata plus Tags plus Links]
jsobj1 --computing--> jsobj[TS Objects]
jsobj --convert to sql--> sqlite[SQLite markdown.db]
jsobj --write to disk--> json[JSON on disk in .markdowndb folder]
jsobj --tests--> testoutput[Test results]
Loading
mohamedsalem401 added a commit that referenced this issue Nov 20, 2023
mohamedsalem401 added a commit that referenced this issue Nov 21, 2023
[ #58 , refactor mddb code to use ]
@rufuspollock rufuspollock reopened this Nov 21, 2023
@rufuspollock rufuspollock changed the title Refactor part II: refactor mddb code to use Refactor part II: refactor mddb code to use new code (process.ts) Nov 21, 2023
mohamedsalem401 added a commit that referenced this issue Nov 22, 2023
* [#47,refactor][m]: create a process.ts file that just does extraction of file info to a JS/TS object.

* update index.mdx for testing

* Add process function and add some tests

* [ #4 , extract links ] add link extraction

* [#49, Add body tags extraction]

* #58 refactor mddb code

* Integrate extracting tags from body

* Integrate links extraction

* Add changeset

* update include config

* Restore pathToUrlResolver

* update tests

* Implement obsidian links

* No need for this

* Update tests for links

* Update tests for links

* undo changing tests

* Update obsidian links test

---------

Co-authored-by: Rufus Pollock <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants