Last active
May 7, 2025 12:10
-
-
Save kaivongcom/94cb52dea2498adda5fddbb8142a4f8f to your computer and use it in GitHub Desktop.
example of markdown script
This file contains hidden or 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
require('/Users/USERNAME/Desktop/projects/lib/hypertext_from_markdown/main.rb') | |
PAGE_DATA = 'projects/data/pico-hotkeys.txt' | |
puts ; puts 'before:' | |
puts hotkey_data = open(PAGE_DATA).read | |
puts ; puts 'after:' | |
hotkey_data.each_line do |data_line| | |
p HyperTextFromMarkdown.new(data_line.strip, {}).results | |
end |
This file contains hidden or 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
## PICO | |
| # | hotkey | description | | |
| ## | ^F | move Forward a character. | | |
| ## | ^B | move Backward a character. | |
| ## | ^P | move to the Previous line | |
| ## | ^N | move to the Next line | |
| ## | ^A | move to the beginning of the current line | |
| ## | ^E | move to the End of the current line | |
| ## | ^V | move forward a page of text | |
| ## | ^Y | move backward a page of text. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
consider own pico, nano data texts