github-flavored-markdown

GitHub pages generator removing <video> tag

百般思念 提交于 2020-12-26 07:55:24
问题 Context I usually set up quick GitHub pages to document a few developments I do. They are usually very simple pages, which I generate from the repo settings using the Page Generator. I want to continue using this method, as moving to proper gh-pages with jekyll is too much of an overhead for something so simple. Recently I came across a use case, where adding a simple 2 min video to the first section made a lot of sense. Not knowing any native markdown for HTML video I've decided to add the

embed openstreetmap iframe in github markdown

五迷三道 提交于 2020-12-25 07:05:08
问题 From the share tab on the openstreetmap page, I can export a map view as HTML e.g.: <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.openstreetmap.org/export/embed.html?bbox=6.047544479370118%2C46.23053702499607%2C6.061706542968751%2C46.23821801159735&layer=mapnik" style="border: 1px solid black"></iframe> <br/><small><a href="https://www.openstreetmap.org/#map=17/46.23438/6.05463">View Larger Map</a></small> I would like to

embed openstreetmap iframe in github markdown

只愿长相守 提交于 2020-12-25 07:03:34
问题 From the share tab on the openstreetmap page, I can export a map view as HTML e.g.: <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.openstreetmap.org/export/embed.html?bbox=6.047544479370118%2C46.23053702499607%2C6.061706542968751%2C46.23821801159735&layer=mapnik" style="border: 1px solid black"></iframe> <br/><small><a href="https://www.openstreetmap.org/#map=17/46.23438/6.05463">View Larger Map</a></small> I would like to

Why GitHub does not allow to color texts in .md files?

风格不统一 提交于 2020-06-17 13:35:33
问题 So recently i was using Azure DevOps for projects and i really liked the wiki there. However a week ago for a University project i had to use GitHub directly, where i realized that even basic formatting options are missing. One of the missing option that hit me hard was that i can't even color texts. In Azure DevOps you can color texts like this: <font color="red">Please Note that this is a work in progress repository!</font> After a little bit of searching on the internet i only found half

How do I prevent auto-generated links in the GitHub wiki?

岁酱吖の 提交于 2020-04-07 17:44:23
问题 On a GitHub wiki page, if I type: www.foobar.com GitHub automatically assumes this is a URL and makes the text a hyperlink to http://www.foobar.com. However, sometimes I do not want a hyperlink to be created. Is there a way to stop this behavior? Perhaps some sort of markdown? 回答1: This isn't limited to wiki page, and is part of the GFM (GitHub Flavored Markdown) url autolinking feature. Putting them in `` can work but display the url as a code: foo http://example.com bar. foo `http://example

How do I prevent auto-generated links in the GitHub wiki?

◇◆丶佛笑我妖孽 提交于 2020-04-07 17:43:13
问题 On a GitHub wiki page, if I type: www.foobar.com GitHub automatically assumes this is a URL and makes the text a hyperlink to http://www.foobar.com. However, sometimes I do not want a hyperlink to be created. Is there a way to stop this behavior? Perhaps some sort of markdown? 回答1: This isn't limited to wiki page, and is part of the GFM (GitHub Flavored Markdown) url autolinking feature. Putting them in `` can work but display the url as a code: foo http://example.com bar. foo `http://example

Is there a way to add a gif to a Markdown file?

廉价感情. 提交于 2020-02-16 13:24:09
问题 I want to add this gif to a GitHub flavored markdown file. If it can't be done in GitHub, is it possible to do it in another version of markdown? 回答1: Showing gifs need two things 1- Use this syntax as in these examples ![Alt Text](https://media.giphy.com/media/vFKqnCdLPNOKc/giphy.gif) Yields: 2- The image url must end with gif 3- For posterity: if the .gif link above ever goes bad, you will not see the image and instead see the alt-text and URL, like this: 4- for resizing the gif you can use