Skip to content
Snippets Groups Projects

docs: Use easier to understand `no_run` attribute

Merged Wiktor Kwapisiewicz requested to merge wiktor/use-no_run into main

This makes all bash code blocks use the bash language indicator but the fragments which should not be tangled out are marked with a more Rust-familiar no_run attribute instead of sh.

All markdown forges I tested rendered this just fine.

Context: I spent a couple of minutes figuring out why my addition to README is not getting run and the bash/sh split was slightly too easy to oversight :sweat_smile:

Edited by Wiktor Kwapisiewicz

Merge request reports

Merged by Wiktor KwapisiewiczWiktor Kwapisiewicz 4 months ago (Nov 8, 2024 8:54am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading