From ba68130862dc004a7a1b50d99fc70872d39fd065 Mon Sep 17 00:00:00 2001 From: JP Appel Date: Wed, 2 Jul 2025 00:06:10 -0400 Subject: Add link parsing --- cmd/index.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/index.go') diff --git a/cmd/index.go b/cmd/index.go index 2f45f78..c5d1107 100644 --- a/cmd/index.go +++ b/cmd/index.go @@ -21,6 +21,7 @@ func setupIndexFlags(args []string, fs *flag.FlagSet, flags *IndexFlags) { fs.BoolVar(&flags.IgnoreDateError, "ignoreBadDates", false, "ignore malformed dates while indexing") fs.BoolVar(&flags.IgnoreMetaError, "ignoreMetaError", false, "ignore errors while parsing general YAML header info") fs.BoolVar(&flags.ParseMeta, "parseMeta", true, "parse YAML header values other title, authors, date, tags") + fs.BoolVar(&flags.ParseLinks, "parseLinks", true, "parse file contents for links") customFilters := false flags.Filters = index.DefaultFilters() -- cgit v1.2.3