Commit Graph

68 Commits

Author SHA1 Message Date
b1f55fd898 (debugging) nested links not working properly 2024-02-03 23:09:41 -06:00
9447c9a405 cleanup some libs 2024-01-13 23:26:21 -06:00
b3499a493c uncomment transformer code so i can see my notes 2024-01-07 23:07:20 -06:00
cfdccef868 attempt to fix build error 2024-01-07 12:45:49 -06:00
e964893b13 attempt to resolve issues 2024-01-07 12:34:09 -06:00
c3dd11e7e2 fix a few more bugs 2024-01-07 12:17:57 -06:00
3ee2eed96e exclude js files from eslint
theyll all be replaced anyway
2024-01-07 10:32:38 -06:00
e57213bdf3 fix all lint issues in utils file 2024-01-07 10:22:37 -06:00
25889669f2 make router nav to correct directory 2023-12-31 11:56:14 -06:00
a1826fdcba convert all new class usages to use this. 2023-12-26 23:36:36 -06:00
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