LuaLS / LuaLS/lua-language-server
Hyperlink markdown still evaluated within a code block
まだ誰も着手していません。
- 主要言語
- Lua
- スター
- 4.4k
- フォーク
- 442
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows
What is the issue affecting?
Formatting
Expected Behaviour
[]() within a continuous code block would appear as is, formatted part of the code:
--- ```
--- t[i](...)
--- ```
to appear as::
t[i](...)
Actual Behaviour
It tries to turn it into a link because it still looks for the []() pattern within a code block.
it appears as:
t[i](file:///etc...)
Reproduction steps
Write []() in a code block, indexing and a function call right next to each other.
Additional Notes
Adding a whitespace between [] and () does solve it (the code is still Lua-viable while not being recognized as a markdown link) but that is just ugly.
Log File
No response
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
t[i](...)を含むLuaコードブロックを使って、Visual Studio Code拡張機能で issue を再現します。コードブロックを担当するフォーマットまたはMarkdownレンダリングのエントリポイントを追跡します。ブロック内では[]()がリテラルのまま保持され、ブロック外の通常のリンクは引き続き機能すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 58/100