How does plugin README get parsed for TWIN? #70
-
How do I know what data will appear in TWIN after adding a new plug-in to https://github.com/rockerBOO/awesome-neovim? (i.e., screenshot, short description, long description) Is there a preferred format of the README to make sure it is parsed correctly? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @mikesmithgh ImagesYes there is a preferred format for parsing images. The preferred way is to provide absolute paths to the image in your Readme, Dotfyle can currently not parse images with relative paths. It should be a permanent url and not a url that would dissapear if you delete the image. It also only supports images hosted on GitHub. I sometimes have the time to manually go through Readme's and try to get images when they cannot be automatically parsed but this is quite time consuming. One way to get permanent image urls is to upload the image to an issue, I commonly use this issue for when I need to create permaurls: #43 This was the preferred way for TWiN in the past as well. TextThe text that's parsed is automatically is currently only the repository description. I sometimes also go through repositories and manually look for a good long description. If the beginning of the Readme has a self contained paragraph in the third person listing features or why you would use the plugin I often copy it over the This Week in Neovim. I might consider some way to automatically parse this, but unsure if it'd work well. FutureI want to build features to further improve twin:
|
Beta Was this translation helpful? Give feedback.
Hi @mikesmithgh
Images
Yes there is a preferred format for parsing images. The preferred way is to provide absolute paths to the image in your Readme, Dotfyle can currently not parse images with relative paths. It should be a permanent url and not a url that would dissapear if you delete the image. It also only supports images hosted on GitHub.
I sometimes have the time to manually go through Readme's and try to get images when they cannot be automatically parsed but this is quite time consuming.
One way to get permanent image urls is to upload the image to an issue, I commonly use this issue for when I need to create permaurls: #43
This was the preferred way for TWiN in the past as well.
T…