I have the option to preview my markdown file by clicking the Eye icon in the tab header.
After opening the markdown file in preview mode, There is no option to go back.
I can click the link “README.md” but that opens the file in a new tab. This wasn’t an obvious option to me.
I should have a button to toggle Preview and Edit mode without excessive layout shifts
Steps to reproduce:
- Create a markdown file
- Click the “Eye” icon in the tab header
- No option/icon in the tab to return to editing the markdown file
Bug appears at this link:
Repro steps confirmed in any Repl
Browser: Chrome (Used desktop app)
Device (Android, iOS, n/a leave blank): Macbook Pro 14" Ventura
Plan (Free, Hacker, Pro Plan): Pro Plan
Do you know if the expected behavior was the case before and we changed this, or is this feedback / a feature request?
IIRC, It opened in a different tab, and had an “eye” icon to close it as well.
Fair point. I’ll let the team know.
There is a “Close Markdown” option in the dropdown btw.
It’s been a while, so I’m not sure I can recall exactly.
A while back, markdown preview tabs would automatically open when you had a markdown file.
I guess this can be categorized as a feature request.
I believe that’s the default option to close the tab. I’m trying to find a way to navigate back to the markdown file.
We shipped a fix for this!
An edit button now appears on markdown files.
Awesome!!! Thanks a lot, this is definitely gonna improve the markdown experience on Replit!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.