Murmur

Someone asked me about my murmur page. I tweet in a yaml file:

tweets:
  -
    date: "2020-02-10 23:03:15"
    content: |
      기생충짜파구리が食べたい

      <lite-youtube videoid="Ya7LBYFN-"></lite-youtube>
  -
    date: "2020-02-09 23:23:27"
    content: |
      It’s 2020 and GitHub still only allows 1MB profile picture.
  -
    date: "2020-02-09 23:20:54"
    content: |
      My [endeavor] wanting to post something on dev.to...

      [endeavor]: https://github.com/thepracticaldev/dev.to/pull/5785

with a keybinding of my editor to auto generate the current timestamp.

It also accepts markdown:

main.grid-container
  section.grid-reading
    p Welcome to my real twitter account!!

    ul.murmur
      - cache Tweet.cache_key do
        - @tweets.each do |tweet|
          li.mur id=tweet.id
            time= tweet.friendly_date
            a.permur href="##{tweet.id}" #
            = markdown_to_html(tweet.body)

      p= link_to "Archive (2019)", "/murmur/2019"

That’s it!