[Bug]: Cookware should appear only once in the exported format #89

Closed
opened 2026-10-23 14:45:46 +02:00 by mgn · 1 comment

Description

Cookware appear several times in the exported view (markdown and HTML)

Minimal reproducible .gram snippet

---
title: test
---

This is the first #pan

This is the second #pan

Steps to reproduce

gram export --format md test.gram

In the exported test.md file, we can see that pan appears twice:

## 🍳 Cookware

- *pan*
- *pan*

Expected behavior

pan should be merged

### Description Cookware appear several times in the exported view (markdown **and** HTML) ### Minimal reproducible `.gram` snippet ```gram --- title: test --- This is the first #pan This is the second #pan ``` ### Steps to reproduce ```shell gram export --format md test.gram ``` In the exported `test.md` file, we can see that `pan` appears twice: ```md ## 🍳 Cookware - *pan* - *pan* ``` ### Expected behavior `pan` should be merged
Author

Oops. Found it.

I need to use the & reference:

---
title: test
---

This is the first #pan

This is the second #&pan

Result:

## 🍳 Cookware

- *pan*
Oops. Found it. I need to use the `&` reference: ``` --- title: test --- This is the first #pan This is the second #&pan ``` Result: ```markdown ## 🍳 Cookware - *pan* ```
mgn closed this issue 2026-10-26 10:50:47 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gram-lang/gram#89
No description provided.