-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#v8 | ||
|
||
### Block references | ||
|
||
Block references are now supported. | ||
There are two kinds, "inline" and "topline". | ||
The inline refs are created by writing "@blockid" on a line alone in the NL code, while the topline refs are created by putting the "@blockid" ref on the top line of the block. | ||
Block ids themselves are always created by writing "#blockid" on the top line of the block. | ||
Blocks can have more than one id. | ||
The best way to see these features for now is to check the cmpr source itself for examples. | ||
You can use the ":expand" ex command in cmpr to see how the block you're looking at looks when expanded. | ||
This can be a useful way to check some references quickly yourself. | ||
You can use "@blockid:code" to include the PL section of the block instead of the natural language section, and "@blockid:all" to include both. | ||
|
||
### Block ids | ||
|
||
Block ids with the "hashtag syntax", like "#block\_id" are now a supported feature. | ||
In addition to the block references feature using them, they are also used by the "#" keybinding, which lets you see and jump quickly to any block that has an id. |