cf93ff3231
export instantiation of util class
2023-12-25 22:42:33 -06:00
08f828b955
create util class
2023-12-25 22:39:48 -06:00
0af046b5ea
comment out matter stuff
2023-12-25 22:38:56 -06:00
fd45def1bf
convert node to static class
2023-12-25 22:03:37 -06:00
84c657cffa
make transformer methods static
2023-12-25 21:40:06 -06:00
f56e07b94e
convert transformer to a class
...
NOTE - all of these methods can be static i believe. no need to use this and instantiate new instances every time.. i dont think atm anyway
2023-12-25 20:48:51 -06:00
1adbbe2f54
revert ol,ul,menu styles
2023-12-25 20:25:55 -06:00
31c5635f8a
remove throw and replace with warning
2023-12-25 19:50:08 -06:00
ba483eb27d
comment out unneeded code from lib files
2023-12-25 19:27:32 -06:00
f8298e7930
fix file path characters bug
2023-12-23 23:02:08 -06:00
3e692b65fe
throw error if notes dir has not been created yet
2023-12-23 21:33:28 -06:00
c31428d8e4
fix a few utils bugs
...
- unified import no longer default import
- make index file a variable but also be my actual entry file for my notes
- create some variables to make reading easier
- cleanup the file/directory replacement characters (what like "++++" which is ridiculous)
- lots of formatting changes
2023-12-23 20:16:56 -06:00
44c5ca07b2
fix the unified import - no longer default import
2023-12-23 20:13:02 -06:00
0f845a3218
fix isFile bug
...
was previously using `fs.lstatSync().isFile()`. The `isFile()` method doesnt seem to exist so i went with `fs.existsSync()` instead.
2023-12-23 20:12:31 -06:00
Tuan Cao
233e5ba4ed
Remove troublesome FrontMatter pluggin (temporarily)
...
Cached graph-data, which result in hugely improved build performance and probably browsing experience as well
2022-04-29 15:35:10 +07:00
Tuan Cao
1a11bdb2b0
Fix issues: some document cannot be map from slug
2022-04-29 10:38:42 +07:00
Tuan Cao
fdf0e419bb
Set default path for images
2022-04-28 17:17:44 +07:00
Tuan Cao
c8ab797a15
Fixed messed up layout because of over transforming text node that don't match search pattern.
2022-04-28 17:15:28 +07:00
Tuan Cao
6a144536e6
Fixed messed up layout because of over transforming text node that don't match search pattern.
2022-04-28 16:51:00 +07:00
Tuan Cao
4dc41ad032
WIP 2: Parsing obsidian image link
2022-04-28 16:45:10 +07:00
Tuan Cao
ba519d7e28
WIP: Parsing obsidian image link
2022-04-28 16:44:59 +07:00
Tuan Cao
47d0eb25ba
Fixed issue where file name cannot be parsed
2022-04-25 12:57:36 +07:00
Tuan Cao
0e929ffdb9
Add basic code highlighting using prism
2022-04-19 13:17:47 +07:00
Tuan Cao
e331a9c7c9
Filter out non-existent target edge
2022-04-18 16:47:02 +07:00
Tuan Cao
0efef3cebf
...
2022-04-18 16:37:59 +07:00
Tuan Cao
758a8c90b4
- Add title back to Backlink
...
- Remove duplicated backlink and self-reference.
2022-04-18 12:02:05 +07:00
Tuan Cao
ce8de2da9f
- fix bug: missing nodes in global graph
...
- fix bug: mismatch mapping node in index page (/)
- local graph now include both backlink and forward link
2022-04-18 11:48:36 +07:00
Tuan Cao
13e6cca5a4
Rename layout.js to Capitalize file name (Layout)
...
Removed unused _post.js
2022-04-18 09:09:58 +07:00
Tuan Cao
bfea43bb3e
Refactor: replace reference to 'posts' folder single function call
2022-04-18 08:58:37 +07:00
Tuan Cao
159e64f409
Further bug fix attempt
2022-04-18 08:41:57 +07:00
Tuan Cao
8e4e9d1b32
Return default value to toSlug func
2022-04-18 08:10:19 +07:00
Tuan Cao
0065eed6e9
Remove some noisy logging
2022-04-18 07:58:20 +07:00
Tuan Cao
f606499ae8
Fix bug: Title not shown in Graph view
2022-04-17 21:01:13 +07:00
Tuan Cao
6f027aeb8e
Handle Internal link with hashtag('#')
2022-04-17 20:22:50 +07:00
Tuan Cao
40a947e2ea
Improve mapping slug to filepath, to reduce error when build up graph
...
(WIP 2)
2022-04-17 20:04:58 +07:00
Tuan Cao
99dbccef0a
Improve mapping slug to filepath, to reduce error when build up graph
...
(WIP)
2022-04-16 22:55:20 +07:00
Tuan Cao
5b914a148c
Remove lint
...
Fix build error
2022-04-15 11:20:32 +07:00
Tuan Cao
5195f9bdcc
Add support for Local Nodes
...
Render Graph in [id] posts
2022-04-15 11:00:45 +07:00
Tuan Cao
b43dfd77b0
Add CytoGraph component to re-present the graph
2022-04-15 09:04:28 +07:00
Tuan Cao
9766844614
- Show short summary in Backlink section
...
- Extract content from refered markdown file.
2022-04-08 14:44:45 +07:00
Tuan Cao
2bb96504c9
Finished constructing backlink from internal links
...
TODO: performance improvement, and code reability.
2022-04-07 16:52:41 +07:00
Tuan Cao
b47d1053d8
WIP: Render backlink in MarkDown content component.
2022-04-07 10:44:02 +07:00
Tuan Cao
930d7bf48d
Refactor to prepare to convert to react component
2022-04-05 11:47:41 +07:00
Tuan Cao
d9923053f5
Clean up require -> import
2022-04-05 10:45:30 +07:00
Tuan Cao
08bf40fc35
Clean up unused codes
2022-03-31 15:12:00 +07:00
Tuan Cao
bae2cc6be7
Rename post to utils
2022-03-24 11:55:12 +07:00
Tuan Cao
005993da21
Make Tree navigation go to correct page.
2022-03-24 11:15:43 +07:00
Tuan Cao
b245a3e2c2
Replace Folder Tree with MUI implementation.
2022-03-23 22:25:28 +07:00
Tuan Cao
9027596d06
WIP adding folder tree
2022-03-23 10:50:06 +07:00
Tuan Cao
7607695970
Remove preprocessThreeDashes call as it cause some content become empty.
2022-03-16 14:27:36 +07:00