You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use a leading + or - sign on an include line to indicate that an included code block should have + or - signs prefixed to each line, for diff display.
In this example the fourth include fails and includes the entire file, ignoring the anchor attribute:
On top of fixing this, we may consider making the diff aspect an attribute, like diff="+", as suggested by Jad, instead of prepending the prefix in the line, for parsing and writing consistency. This would be part of #65
The text was updated successfully, but these errors were encountered:
NathanLovato
changed the title
Diff includes don'
Diff includes don't always work reliably
Oct 28, 2024
We use a leading + or - sign on an include line to indicate that an included code block should have + or - signs prefixed to each line, for diff display.
In this example the fourth include fails and includes the entire file, ignoring the anchor attribute:
On top of fixing this, we may consider making the diff aspect an attribute, like diff="+", as suggested by Jad, instead of prepending the prefix in the line, for parsing and writing consistency. This would be part of #65
The text was updated successfully, but these errors were encountered: