mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 05:36:07 +01:00
This standardises all my markdown files to have no leading newline after the `---` that ends the frontmatter. This makes display on Gemini (in which newlines matter) much more consistent! I can't spot any errors with the regex I used here, but there may be one or two articles that change shape — hopefully I can spot them and fix them!
221 B
221 B
date | tags | ||
---|---|---|---|
2017-09-16T11:11:13Z |
|
def Hash.forever
new { |h, k| h[k] = forever }
end
Hash.forever.tap { |h| h[:no]['need'][2] = 'init' }
# => {:no=>{"need"=>{2=>"init"}}}