html-share: new cheatsheet

This commit is contained in:
Rico Sta. Cruz 2017-09-04 08:54:06 +08:00
parent 2d104877d5
commit 4d93951467
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 30 additions and 0 deletions

30
html-share.md Normal file
View File

@ -0,0 +1,30 @@
---
title: Share links
layout: 2017/sheet
category: HTML
updated: 2017-09-04
---
## Share links
{: .-one-column}
Facebook:
{:.-setup}
```html
<a href='https://www.facebook.com/sharer/sharer.php?u=URL' target='share'>
```
Twitter:
{:.-setup}
```html
<a href='https://twitter.com/intent/tweet?text=DESCRIPTION+URL' target='share'>
```
Google Plus:
{:.-setup}
```html
<a href='https://plus.google.com/share?url=URL' target='share'>
```