zapatista.kompot.si/README.md

13 lines
1.3 KiB
Markdown
Raw Normal View History

2021-05-13 05:34:51 +02:00
## Link do sajta:
2021-05-16 01:45:02 +02:00
<https://zapatista.kompot.si>
*[Pico CMS (dokumentacija, plugins, themes)](https://picocms.org/)*
2021-05-08 17:51:48 +02:00
2021-05-13 05:34:51 +02:00
#### Markdown Guide
[Basic Syntax](https://www.markdownguide.org/basic-syntax/) | [Extended Syntax](https://www.markdownguide.org/extended-syntax/) | [Hitra referenca - "plonklistek"](https://www.markdownguide.org/cheat-sheet/)
#### PeerTube Video embed
Primer <https://kino.kompot.si> video. Pod videom klikneš na gumb "Share" in izbereš zavihek "Embed", ki ti generira kodo z za embedanje, ki jo potem vstaviš v pejđev markdown. če rabiš več kostumizacije je v "Embed" zavihku spodaj možnost "More customization". <https://docs.joinpeertube.org/use-watch-video?id=sharing-a-video> <https://thinkmoult.com/embed-peertube-video-on-your-website.html>
**Lepši embed čez vso širino elementa** dobiš če iframe oviješ z `<div class="video">` ter `</div>` in pa ifram-u NE določiš "width" ter "height".
primer: `<div class="video"><iframe sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.anartist.org/videos/embed/470f5abd-55e4-4708-a685-5715063387ea?warningTitle=0" frameborder="0" allowfullscreen></iframe></div>`
2021-05-13 05:34:51 +02:00
#### YouTube Video embed
navodila: <https://support.google.com/youtube/answer/171780?hl=en>
**Lepši embed čez vso širino elementa:** *na enak način kot v zgornjem primeru za PeerTube*