Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2021-07-19 - GitHub の Markdown file で linenumber 付きの permalink にアクセスする方法 #152

Closed
kachick opened this issue Jul 18, 2021 · 1 comment

Comments

@kachick
Copy link
Owner

kachick commented Jul 18, 2021

TL;DR

経緯 / History

  1. GitHub の linenumber 付 permalink 機能は便利なのだけれど、 markdown ファイルは GFM での auto rendering が効く画面にしかアクセスできず、linenumber 付画面へのアクセスができないのに地味に困っていた。
  2. 自分が知らないだけでちゃんと調べればあるのかなぁと思ってぐぐってみたら、なんとついこないだ (2021-06-30) やっと解決された問題だったっぽい
  3. View raw non-rendered markdown source with line numbers on file blob show view isaacs/github#297 (comment) => https://github.blog/changelog/2021-06-30-parameter-to-disable-markdown-rendering/ いやー、今日調べてよかった・・・
@kachick
Copy link
Owner Author

kachick commented Aug 7, 2024

これ自体は便利なんだけど、未だに不便というか毎回まごまごするのが「y」ショートカットキーでのpermalinkゲット時に自動でplain=1をつけてくれるわけでもないところ。そのまま入手できたURL使うと自動移動にならんし、手動で書き換えるのも忘れがち。ブラウザ拡張とplain=1つけ忘れに対するlinterの両方が欲しい

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🤷‍♂️
Development

No branches or pull requests

1 participant