New extensions with custom blocks for UNO


I’d like to write some blocks for simple commands to have different code outputs like below:

pinMode(14, INPUT_PULLUP) instead of pinMode(14, INPUT)

if (digitalRead(14) == LOW) instead of if (digitalRead(14))

Do I find these blocks in some already made extensions ?
If not where can I find samples to view ?



I found a nice tutorial to create the block for upload use

Instructions for live mode are not very clear: