about summary refs log tree commit diff stats
path: root/internal/importer/package.go
diff options
context:
space:
mode:
authorAlan Pearce2024-05-17 23:01:17 +0200
committerAlan Pearce2024-05-17 23:01:17 +0200
commit934a0693213df901078cd1bc75a5b7e1b5c87555 (patch)
treeea780ee749b74f966ca1c6c5204bcd9cfd1e805e /internal/importer/package.go
parent698881aa577d2c209f162db9263fab17ced3643f (diff)
downloadsearchix-934a0693213df901078cd1bc75a5b7e1b5c87555.tar.lz
searchix-934a0693213df901078cd1bc75a5b7e1b5c87555.tar.zst
searchix-934a0693213df901078cd1bc75a5b7e1b5c87555.zip
feat: render markdown in packages' LongDescription
Diffstat (limited to 'internal/importer/package.go')
-rw-r--r--internal/importer/package.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/importer/package.go b/internal/importer/package.go
index b3d2bac..c10a96d 100644
--- a/internal/importer/package.go
+++ b/internal/importer/package.go
@@ -234,7 +234,7 @@ func (i *PackageIngester) Process(parent context.Context) (<-chan nix.Importable
 				Version:         i.pkg.Version,
 				Broken:          i.pkg.Meta.Broken,
 				Description:     i.pkg.Meta.Description,
-				LongDescription: i.pkg.Meta.LongDescription,
+				LongDescription: nix.Markdown(i.pkg.Meta.LongDescription),
 				Homepages:       i.pkg.Meta.Homepages,
 				MainProgram:     i.pkg.Meta.MainProgram,
 				Platforms:       i.pkg.Meta.Platforms,