inkle / inkle/ink

Knot Tags don't work with Knot parameters

Open
#930 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.9k
Forks
540
PR merge metrics
No merged PRs in 30d

Description

Hey folks. Steps to reproduce:

```
===test(name)
# location: any
# weight: 5
{name}: I am strong. I want work.
* Welcome aboard!
* Absolutely not.
```

The function `TagsForContentAtPath()` will return an empty list here.

Looks like the code for `TagsAtStartOfFlowContainerWithPathString` only checks if the first content object is a container that with tags. In my project, I changed it to check if the first content object is actually a VariableAssignment and check the second content object instead, but not sure if this is the correct way, or if parameters + knot tags is even defined behavior.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.