Commit Graph

49 Commits

Author SHA1 Message Date
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
Tuan Cao
1d6c3b1382 Update code to support better wiki link style on Help vault: namedly Alias divider, case-sensitive file name 2022-03-16 12:01:01 +07:00
web-meister
a97a7b4f33 ... 2021-03-04 00:33:38 +03:00
Can
91b606d4be ... 2020-12-06 22:40:20 +03:00
Can
de73654b10 main content max width set to 700px 2020-12-01 23:30:06 +03:00
Can
e9f11ee1e5 working 2020-12-01 06:28:42 +03:00
Can
e71bbc741e ... 2020-11-30 14:29:34 +03:00
Can
c84a95a47d first commit -m 2020-11-28 19:36:28 +03:00
Can
4a6a5a4da4 first commit -m 2020-11-28 18:45:01 +03:00