This repository has been archived by the owner on Jan 9, 2025. It is now read-only.
Converting the main description Yaml Block Literal to support proper Markdown #111
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've converted the
.info.description
block to address the broken formatting of GFM fenced code block. The change makes the YAML string under the key work as a normal Markdown.It's a simple trick: using of
description: |
instead ofdescription: >-
. But then the entire multi-line string needs to be rewritten/converted to omit the unnecessary newlines. I used this dirty script to do the job.More on the YAML mult-line behavior here: https://yaml-multiline.info/
After
![Screenshot 2024-11-28 at 11 23 03](https://private-user-images.githubusercontent.com/79609/390763563-32ebc239-4d93-4edc-8c19-a2b7d595ee83.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDE0NjIsIm5iZiI6MTczOTMwMTE2MiwicGF0aCI6Ii83OTYwOS8zOTA3NjM1NjMtMzJlYmMyMzktNGQ5My00ZWRjLThjMTktYTJiN2Q1OTVlZTgzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE5MTI0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAyZmY1YjhmMGIyZDA5NDlhNzEyZjQ3YTViMTJlYWI0OGU0M2ZmMzY1ZTkxYjUxYjM5NTA3MzRkNjYyN2VkMDImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.X3IKg15haAmy0mXf-uyrMN4kTeUGF2XUrsAIyLajDvc)
Before
![Screenshot 2024-11-28 at 11 01 57](https://private-user-images.githubusercontent.com/79609/390763507-bfb8ab6d-b8b8-495a-8593-6deba99461b7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDE0NjIsIm5iZiI6MTczOTMwMTE2MiwicGF0aCI6Ii83OTYwOS8zOTA3NjM1MDctYmZiOGFiNmQtYjhiOC00OTVhLTg1OTMtNmRlYmE5OTQ2MWI3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE5MTI0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZhNTAxZThkMmFhYmE3YjY5Y2ZhYTJiYzE0OTZjN2NmOTUxNzcyMmM2OGYzYWQxM2VjNzNkYmIxYzIzYzE2ZTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.gzkPPfzeGHP1ZQm2btfTPxjGZA8n9Qc0FGG9GQJOTbg)