Commit Graph

16 Commits

Author SHA1 Message Date
Jacky Zhao
37d59b994e fix: coerce title to string 2023-09-25 18:15:55 -07:00
Hrishikesh Barman
1de352dc11 feat(plugins): add OxHugoFlavouredMarkdown (#419)
* feat(plugins): add OxHugoFlavouredMarkdown

ox-hugo is an org exporter backend that exports org files to
hugo-compatible markdown in an opinionated way. This plugin adds some
tweaks to the generated markdown to make it compatible with quartz but
the list of changes applied it is not extensive.

In the future however, we could leapfrog ox-hugo altogether and
create a quartz site directly out of org-roam files. That way we won't
have to do all the ritual dancing that this plugin has to perform.
See https://github.com/k2052/org-to-markdown

* fix: add toml to remarkFrontmatter configuration

* docs: add docs for OxHugoFlavouredMarkdown

* fixup! docs: add docs for OxHugoFlavouredMarkdown
2023-08-25 22:52:23 -07:00
Hrishikesh Barman
da64b9be3a feat(plugins): add toml support for frontmatter (#418)
* feat(plugins): add toml support for frontmatter

Currently frontmatter is expected to be yaml, with delimiter set to
"---". This might not always be the case, for example ox-hugo(a hugo
exporter for org-mode files) exports in toml format with the delimiter
set to "+++" by default.

With this change, the users will be able use frontmatter plugin to
support this toml frontmatter format.

Example usage: `Plugin.FrontMatter({delims: "+++", language: 'toml'})`

- [0] https://ox-hugo.scripter.co/doc/org-meta-data-to-hugo-front-matter/

* fixup! feat(plugins): add toml support for frontmatter
2023-08-25 10:25:46 -07:00
Jacky Zhao
460879df31 fix: tag support for non-latin alphabets (fixes #398) 2023-08-22 22:14:16 -07:00
Jacky Zhao
b5ab38cb7e fix relative path resolution in router and link crawling 2023-08-16 22:04:15 -07:00
Jacky Zhao
41f7de75a9 more documentation 2023-08-11 00:31:44 -07:00
Jacky Zhao
dfee2f3b6e nested tag support and tag index page 2023-07-25 21:10:37 -07:00
Jacky Zhao
617ea80db1 run prettier 2023-07-22 17:27:41 -07:00
Jacky Zhao
33c8c9c5f6 docs + various polish 2023-07-09 19:32:24 -07:00
Jacky Zhao
b06cf9bdac polish 2023-07-08 14:36:02 -07:00
Jacky Zhao
8f76cc5768 handle dates as tags 2023-07-06 18:45:38 -07:00
Jacky Zhao
27bf450955 handle string tags 2023-07-06 18:32:48 -07:00
Jacky Zhao
fc03f3dcec fix: parsing wikilinks that have codeblock anchors, scroll to anchor 2023-06-19 22:50:25 -07:00
Jacky Zhao
9a1f0b48b4 refactor plugins to be functions instead of classes 2023-06-11 23:26:43 -07:00
Jacky Zhao
8c5dd2287a toc 2023-06-09 23:06:02 -07:00
Jacky Zhao
62d0c4bd1a plugin integration round 2 2023-05-30 08:02:20 -07:00