bids-specification
bids-specification copied to clipboard
ENH: Render code blocks with language "tsv" as tables
This is another go at https://github.com/bids-standard/bids-specification/issues/644 along the lines of https://github.com/bids-standard/bids-specification/pull/1783#issuecomment-2062890572.
It's not working 100% for me, but I've maxed out my time on this. Pushed to upstream so others can take it up or open PRs against it.
The code for this does not need to live in bidsschematools, but that's the quickest way to get something into the import namespace.
cc @Remi-Gau
Does not render for:
Does render, but with inserted None for:
Similarly successful but with additional None for the other files. The first one might be an effect of using it twice in a file? The two bugs may be related. I think the problem is probably upstream.
that's way quicker than anything I would have done
I can try tweaking this to see if I can make it work
FWIW I think this is not an exclude-from-changelog contribution, as it affects how to interpret what's seen in the spec.
FWIW I think this is not an
exclude-from-changelogcontribution, as it affects how to interpret what's seen in the spec.
that's fair