javalent / dice-roller

Inline dice rolling for Obsidian.md
272 stars 28 forks source link

🐞 dice-mod: doesn't execute when used as a section roller. #336

Open StalwartS0ul opened 1 week ago

StalwartS0ul commented 1 week ago

Check for existing bug reports before submitting.

Expected Behavior

The command dice-mod: [[Famous Quotes#^famous-quotes]]|Quote should return the section from the table "Famous Quotes" under column "Quotes".

The code block is correct. And Dice Roller is able to execute if the command is dice: [[Famous Quotes#^famous-quotes]]|Quote. And returns the "Quote" column as expected.

dice-mod does work as intended if I'm rolling for dice results only. i.e. dice-mod: 1d4

Current behaviour

1 2

The dice-mod acts as if it's only a code block and not a command.

Reproduction

Create any new note and type the command dice-mod: [[table^blockid]]|section. It remains a code block.

Which Operating Systems are you using?

Obsidian Version Check

1.6.7

Plugin Version

11.2.1

Confirmation

Possible solution

No response

geochatz commented 6 days ago

I have the same issue.

Dice Roller v11.3.2 Obsidian v1.6.7 on MacOS

PhyberApex commented 6 days ago

Same here

Dice Roller v11.3.2 Obsidian v1.6.7 on MacOS