wallpants / github-preview.nvim Goto Github PK
View Code? Open in Web Editor NEWLive Preview of your Markdown (GFM) files & local git repositories for Neovim.
License: Other
Live Preview of your Markdown (GFM) files & local git repositories for Neovim.
License: Other
let the user know when the app has been killed
some of them are a bit too heavy and on slow internet they take a bit to load
it's annoying when it scrolls after closing/opening a details tag
github-preview.nvim/app/server/http.ts
Line 11 in f2251d0
I believe that comment is stale
add disabled relative links tooltip to markdown explorer when in single file mode. I can already see someone crying.
add some logging around bun install
in init.lua
set timeout and close config if unfocused
the link to features.md is broken,
features was renamed to uppercase FEATURES.md
think of a way to make the browser's back button usable
maybe give users the option to disable auto-close in favour of back-navigation.
allow users to specify autoclose true or false, but add a warning in the docs saying that enabling autoclose disables
the back button.
if single-file mode is enabled, currently we scroll
export builtin functions like telescope does and add docs explaining how to use them to setup a user-command or a keymap
in an Advanced Usage section of the readme
After installing the plugin, try opening github-preview with GithubPreviewToggle.
I got the notification saying github-preview: init.
After 10s, the terminal crash saying it's using too much memory.
I guess the plugin load all the files into memory to display on browser.
Firefox
github-preview: require("github-preview.health").check()
github-preview.nvim ~
- platform: linux
- git-commit: a4c7dd98eb274834bfe15629b540fe13ead83b06
- OK bun: 1.0.7
it's annoying
nicer descriptions, images maybe?
reuse switch to handle config updates coming from the browser
if I start github-preview in an instance of neovim, and then start github-preview in another instance of neovim,
the first instance of neovim breaks and we start getting a ton of errors saying that the rpc channel id is not valid
create gif showcasing temporary config overrides
remove tailwind colors from tailwind config and use only git colors
open absolute links in a new tab to prevent clicking on them from disabling autoclose.
Autoclose can only work if the navigation stack is emtpy. This is why we use "replace" instead of "push" when navigating.
builtin examples
fix the cursorline bug in the demo video.
when we type too fast (maybe?)
or I'm not sure what causes the bug.
https://github.com/wallpants/gifs/blob/main/github-preview.nvim/demo.gif
mermaid must be rerun to generate svgs that match the new container width
it shouldn't autoclose if color picker is open
enabling single file when looking at a dir breaks stuff
update get_platform to make it behave like others for consistency
get_platform should handle printing its result
Update keys/commands
Currently we setup no command but in instructions ask dev to use command
update packer.nvim installation instructions to look more similar to lazy.nvim
also do we need to specify disable=false?
font size is inherited, which means when the disabled link is a heading, the tooltip font is huge
look into uploading docs vids to git lfs instead of using gifs
https://bobbyhadz.com/blog/embed-video-into-github-readme-markdown
when dotfiles theme = light, the app flashes dark before turning light
ask what package manager they're using
rethink hash scrolling both for code line ranges and headings
develop a toast system to render on websocket message
use one of those toasts to tell the user relative links are disabled
(this might fix the scroll jumping when mermaid diagrams above cursor line & improve performance)
create a gif for this once we have navigation in markdown container
I don't know what that is that we're printing but I couldn't find anything related to the commit the guy pasted in the bug report lol.
also make it return something less generic than "linux"
it sometimes feels like too many clicks.
let's just have the popup autoclose after a bit
reuse more explorer code in both the sidebar explorer and the markdown container explorer
reuse entry code for both explorers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.