From 5990bbe9e40c4e2de958372c9b70d8803d84e3c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Sch=C3=A4fer?= Date: Thu, 5 Dec 2024 15:45:18 +0100 Subject: [PATCH] add an anchor to the dataasset --- pkg/report/adocReport.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/report/adocReport.go b/pkg/report/adocReport.go index 9b1f0052..7f96f322 100644 --- a/pkg/report/adocReport.go +++ b/pkg/report/adocReport.go @@ -798,7 +798,7 @@ func (adoc adocReport) assetRegister(f *os.File) { writeLine(f, "") for _, dataAsset := range sortedDataAssetsByTitle(adoc.model) { - writeLine(f, "<<"+dataAsset.Id+",*"+dataAsset.Title+"*"+">>::") + writeLine(f, "<>::") writeLine(f, " "+dataAsset.Description) writeLine(f, "") } @@ -1899,6 +1899,7 @@ func (adoc adocReport) dataAssets(f *os.File) { suffix += "s" } writeLine(f, "<<<") + writeLine(f, "[[dataAsset:"+dataAsset.Id+"]]") writeLine(f, "== "+colorPrefix+dataAsset.Title+": "+suffix+colorSuffix) writeLine(f, fixBasicHtml(dataAsset.Description)+"\n\n")