[https://github.com/aziz/knockdown]
- _の強調表示させたくない(変数名とかの見栄えが悪い)
[core] | |
quotepath = false | |
excludesfile = ~/.gitignore |
[https://github.com/aziz/knockdown]
TideSDK | Create multi-platform desktop apps with HTML5, CSS3 and JavaScript
display: none
で非表示にしてあるものはcapybaraのfind対象なのか??
という疑問があるわけです。
ここは公式みてみますか。
Module: Capybara::Node::Finders
visible (Boolean) — Only find elements that are visible on the page. Setting this to false finds invisible andvisible elements.
def reverse_number(num) | |
(Math.log10(num) + 1).floor.times.map{ |digit| (num/10**digit)%10 }.inject{ |sum, n| sum*10 + n } | |
end | |
reverse_number 987654321 | |
# => 123456789 |
out_filename_suffix = '.text' | |
conversions = [ | |
{ from: ' ', to: ' ' }, | |
{ from: /^## (.*)/, to: "\\1\n------------------------------" }, | |
{ from: /^### /, to: '■ ' }, | |
] | |
in_filename = ARGV.shift | |
out_filename = in_filename + out_filename_suffix | |
buf = '' |