You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Requesting a page for an absolute *.md path will serve the actual text/markdown instead responding with 404 or the rendered page. Showing the markdown text for the resource seems confusing for the user.
As an example, submitting http://arcade.makecode.com/about.md will serve the raw markdown for the resource instead of something more friendly:
Request URL: https://pxt.azureedge.net/blob/d4012fb88abbbca0ce64a731d5afa9b4af5f706f//about.md
# About MakeCode Arcade
MakeCode Arcade is a code editor to build Retro Arcade games for the browser
and handheld consoles.
* [Try it now!](https://arcade.makecode.com)
* [Projects](/projects)
* [Documentation](/docs)
* [Hardware](/hardware)
* [Publishing games](/publishing-games)
Current behavior
Suggested change options
Respond with the 404 page instead.
In the case of a resource ending with .md, route it to the path minus the extension and just render the referred doc page.
Version info
Chrome: Version 95.0.4638.69 (Official Build) (64-bit)
arcade version: 1.6.24
Microsoft MakeCode version: 7.2.25
The text was updated successfully, but these errors were encountered:
Description
Requesting a page for an absolute
*.md
path will serve the actualtext/markdown
instead responding with404
or the rendered page. Showing the markdown text for the resource seems confusing for the user.As an example, submitting http://arcade.makecode.com/about.md will serve the raw markdown for the resource instead of something more friendly:
Current behavior
Suggested change options
404
page instead..md
, route it to the path minus the extension and just render the referred doc page.Version info
The text was updated successfully, but these errors were encountered: