question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Preview: Live Edit – Feedback wanted!

See original GitHub issue

I just threw a POC together running the visual part of the Material for MkDocs stack in-browser. This would omit the need to install anything via pip or docker, as tech writers could just use the in-browser live editor to instantly preview their changes:

screenshot-localhost-8080-1607899586028

I’m astonished myself how fast this is. A live video showing the instantaneous rendering can be watched here: https://twitter.com/squidfunk/status/1338252230265360391

Any feedback is appreciated. Would you consider this useful? How would your ideal workflow look like?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:53
  • Comments:40 (25 by maintainers)

github_iconTop GitHub Comments

14reactions
squidfunkcommented, Apr 18, 2021

Thank you all again for your great and detailed feedback! I’ve decided to discontinue the work on this idea, for now. I’m currently not seeing when and how I could find enough time to build an MVP out of this, as there’s a lot of hidden complexity that would need to be addressed. Furthermore, this project, as Material for MkDocs itself, would be an endless stream of adding support for more and more features, plugins, and workflows, and I’m afraid I can’t maintain two projects of this magnitude. This project alone already keeps me busy most weekends.

Maybe sometime in the future, we can revisit this idea, or somebody with enough spare time on their hands pulls it off 😊

8reactions
squidfunkcommented, Dec 16, 2020

Instead of generating the entire project (like mkdocs serve), it would need to render the current page only, it is that what you’re thinking of?

Exactly. It would be something like a supercharged Markdown Preview, i.e. for getting a preview of the current page. It will never replace MkDocs as a build system, so it won’t show navigation or other parts of the theme - only the content area. This is solely meant to make the write & preview cycle as fast as possible.

At the beginning it will only support stock Material styles. Later, it can pull in information from mkdocs.yml to apply customizations (extra CSS and maybe JS), and configuration values (primary and accent colors, extra icons, etc…) It may never support all of Material for MkDocs, but it could be a 95% good enough solution that takes a lot of pain away.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frame.io | Home
Frame.io is the world's leading video review and collaboration platform. Share media, collect feedback, manage reviews, and deliver finished work faster ...
Read more >
iOS 16 - New Features - Apple
Apply styles to photos on the Lock Screen that automatically change the color ... Glance at Live Activities from your favorite third-party apps...
Read more >
Typeform: People-Friendly Forms and Surveys
Build beautiful, interactive forms — get more responses. No coding needed. Templates for quizzes, research, feedback, lead generation, and more.
Read more >
Microsoft Feedback Portal
Welcome to Feedback (Preview). Share your feedback and help us make improvements and build new products.
Read more >
Viewing and changing feedback left for sellers - eBay
From time to time, you may want to follow up with some additional context or information on feedback you've already left. You can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found