Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Un exemple d'image et Markdown #1

Open
marcogadget opened this issue Mar 3, 2018 · 3 comments
Open

Un exemple d'image et Markdown #1

marcogadget opened this issue Mar 3, 2018 · 3 comments

Comments

@marcogadget
Copy link
Owner

marcogadget commented Mar 3, 2018

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
Copy link
Owner Author

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

@marcogadget
Copy link
Owner Author

marcogadget commented Mar 3, 2018

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

git commit --cleanup=verbatim

@marcogadget
Copy link
Owner Author

marcogadget commented Mar 3, 2018

Ce qui fonctionne :

Liens intéressants :

http://www.jefclaes.be/2012/04/add-images-to-github-readme.html
https://stackoverflow.com/a/10189374
github/markup#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 :
atom/github#118

Ici à propos de commitView :
atom/github#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

  • Il pourrait être une bonne idée aussi de créer un autre répo "screenshots" où vous ajouter vos images avant d'en faire un lien dans un autre.

  • Vous pouvez aussi ajouter un lien à votre image comme ceci :

![ScreenShot](https://raw.github.com/{username}/{repository}/{branch}/{path})[http://example.com/]
[![Alt text](/path/to/img.jpg?raw=true)][http://example.com/]

À 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant