marcogadget / github-base64-images

Test and converter for having images insert into commit and issues as "Markdown Base64 Image Tags".
GNU General Public License v3.0
0 stars 0 forks source link

Un exemple d'image et Markdown #1

Open marcogadget opened 6 years ago

marcogadget commented 6 years ago

Avec lien relatif:

![Logo](public/image-test.png "Logo Title Text 1")

Logo

Avec lien relatif avec point:

![Logo](./public/image-test.png "Logo Title Text 1")

Logo

Logo

Un exemple d'image et Markdown Avec lien absolu :

![Logo](https://raw.githubusercontent.com/marcogadget/github-base64-images/master/public/image-test.png "Logo Title Text 1")

Logo

Inline-style:

![Logo alt text](http://static1.squarespace.com/static/52d42be4e4b0c7af5ad3f4d4/t/59d65cf0268b96bac3879e62/1507220720615/icon+clor.ico?format=1000w "Logo Title Text 1")

Logo alt text

Reference-style:

![alt text][logo]

[logo]: http://static1.squarespace.com/static/52d42be4e4b0c7af5ad3f4d4/t/59d65cf0268b96bac3879e62/1507220720615/icon+clor.ico?format=1000w "Logo Title Text 2"

alt text

marcogadget commented 6 years ago

Intéressant: On peut mettre du Markdown et des images dans nos commits : https://gitlab.com/gitlab-org/gitlab-ce/issues/1582

marcogadget commented 6 years ago

Donc finalement pour le GitLab: Il faut adapter la configuration de son installation ou encore utiliser la commande :

git commit --cleanup=verbatim
marcogadget commented 6 years ago

Ce qui fonctionne :

Liens intéressants :

http://www.jefclaes.be/2012/04/add-images-to-github-readme.html https://stackoverflow.com/a/10189374 https://github.com/github/markup/issues/270 https://chris.beams.io/posts/git-commit/#seven-rules

Ici on parle de language-git qui permetterais une syntax spécialisé dans les commit : https://github.com/atom/github/issues/118

Ici à propos de commitView : https://github.com/atom/github/pull/421

Markdown Cheatsheet : https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet

Github Advanced Formating : https://help.github.com/articles/working-with-advanced-formatting/

Ici, peut-être une solution (approche) qui pourrait être intégré dans un extension Chrome et Firefox. L'extension pourrait faire un get de la description soit par API ou directement dans le navigateur et nous l'afficher en HTML après l'avoir converti. https://www.npmjs.com/package/git-commit-markdown

Standard Karma pour les fichiers Changelog. Peut-être une solution là-dedans ? http://karma-runner.github.io/1.0/dev/git-commit-msg.html

Autres billets de blog intéressants

https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html http://365git.tumblr.com/post/3308646748/writing-git-commit-messages

À chercher :

Très intéressants : LOL Commits :

https://github.com/mroth/lolcommits

Pourquoi ne pas utiliser Atom ?

https://atom.io/ voir language-git https://flight-manual.atom.io/getting-started/sections/installing-atom/#debian-and-ubuntu-debapt