microsyntax
This article is a stub. You can help the IndieWeb wiki by expanding it.
microsyntax refers to short text conventions for conveying specific semantic meaning, such as an "@" prefix indicating a (user)name, or "#" prefix indicating a hashtag (both conventions popularized by Twitter).
Why
Why author
When writing/authoring, itโs often easier to use a little bit of inline punctuation like an '@' or a '#' as a microsyntax to express some additional meaning rather than adding explicit markup or even markdown.
IndieWeb Examples
Many IndieWeb sites have examples of @-names, #hashtags, etc. See their specific sections for now (though many of those are for features in general, and need some amount of filtering for actual microsytnax examples). We could collect microsyntax-specific examples here, in addition to these links to other IndieWeb Examples sections, until we have enough of each.
- person_mention#IndieWeb_Examples
- person-tag#IndieWeb_Examples
- hashtags#IndieWeb_examples
- footnote#IndieWeb_Examples
- auto-emoji#IndieWeb_Examples
- ...
microsyntaxes
Visible โ some microsyntaxes are preserved in text and linked.
Processed and hidden โ some microsyntaxes are processed from text and replaced, and not usually visible when presented:
- :auto-emoji โ text syntax of ":" (emoji-name) ":" like
:smile:
for ๐ and other standard Unicode emoji, as well as other custom names for custom emoji in software like Mastodon, and services like Discord and Slack - ...
Prior work
Please see previous work:
- http://microformats.org/wiki/picoformats
- https://www.w3.org/TR/activitystreams-vocabulary/#microsyntaxes
- http://microsyntax.pbworks.com
- 2009 launch post: https://factoryjoe.com/2009/05/26/stowe-boyd-launches-microsyntax-org/
- lost site: microsyntax.org (gambling site)
- see https://web.archive.org/web/20100526113207/http://www.microsyntax.org/
Brainstorming
A place to brainstorm indieweb microsyntax especially for plaintext notes, and POSSEing of specific types of posts to plaintext-like POSSE destinations (e.g. Twitter])
(this overall section could use some gardening and updating, many of these never went anywhere and should likely be archived, and some have been implemented and should be documented with real world examples)
See the following for brainstorming on other pages related to microsyntaxes:
at-at names
Add to at-names:
- Brainstorming: when describing how to parse and resolve @-@ person mention syntax, be sure to handle use-cases / thoughts in https://www.w3.org/wiki/Socialwg/AccountDiscovery
at-sign for in-reply-to URL
- @example.com/some-post => <a href="http://example.com/some-post" class="u-in-reply-to">
- We need pfefferle and acegiak to clarify their use case. Just adding links to the users domain in your post will send a webmention to the domain, so IMO it is unnecessary to prefix user domains with @ so I'm assuming they meant post urls. —Sandeep Shetty
- The idea was to generate an easy mardownish way to generate semantic links, not really meant to display to any enduser - Matthias Pfefferle
- No one does this currently (any real world example?) - feels a bit forced. People already think of "@" as meaning "hey this person". - Tantek 15:54, 21 June 2013 (PDT)
- -1 agreed, this example is forced and doesnโt reflect real world usage. @mentions succeeded because they were a paved cowpath, it defeats the object to try to repurpose them --Waterpigs.co.uk 16:07, 21 June 2013 (PDT)
- "we wanted a way to mark which one was the reply-to without needing to edit the html because we want the plugins to be accessible to non-technical wordpress users - plus, adding the html manually would be tiresome, so we're trying to work out a way to make it quick and easy" -acegiak
- Seems OK to me but I've settled on
re: http://example.com/some-post
in my personal logs & recently on my site (e.g.1, e.g.2; just using as minimal reply context for now as I'm pretty sure others do). I've been only using it at the start of an entry but I think you could safely use it anywhere. Colintedford.com 21:11, 7 January 2015 (PST)
- We need pfefferle and acegiak to clarify their use case. Just adding links to the users domain in your post will send a webmention to the domain, so IMO it is unnecessary to prefix user domains with @ so I'm assuming they meant post urls. —Sandeep Shetty
heart for like
- <3 - ASCII heart, used as substitute for โloveโ
- <3 example.com =><a href="http://example.com" class="u-like">
paren Y for thumbs up
Some research:
- (Y) - Used for the thumbs up emoticon on Skype, Facebook
metrics and exercise
Various metrics could use emoji, i.e. when POSSEing to text-like destinations like Twitter
- ๐Slept 8 hours
- ๐ฒ Evening Ride
- ๐ Drove 3.2 miles in 25 minutes
- ๐ Ran 3.2 miles in 25 minutes
- ๐ถ Walked 3.2 miles in 50 minutes
- ๐ช Did 13pushups
- ๐ฃ Weighed 153.3lbs
quotations
A minimal plaintext syntax for posting quotations which an auto-linker/formatter could use to style it properly.
โthe personal blog, yournameโขcom, where you control everything and get to do whatever the hell pleases youโ http://avc.com/2014/08/the-personal-blog/ #indieweb
https://twitter.com/kevinmarks/status/504674367565869056
โI miss being able to engage other people online in discussions that are actually productive.โ @espiers http://elizabethspiers.com/2014/08/25/here-i-go-again-on-my-own/ #indieweb
https://twitter.com/kevinmarks/status/504675650943582208
"I wanted to reply to that comment, but could not for the life of me, log into WordPress to leave it. So Iโll blog about it instead." http://avc.com/2014/08/the-personal-blog/
http://aaronparecki.com/notes/2014/08/27/1/
These examples consist of the following components:
- quoted text wrapped in standard or curly quotes ("" or โโ)
- source URL
- optional author name
- optional hashtags
hat for footnotes
Like "^1", see:
- footnotes microsyntax using ^ format as specified in https://tantek.com/w/Markdown
See also:
microsyntax spec replace markdown
Tantek รelik: document the spectrum between microsyntax and markdown and consider a microsyntax spec that would be a building block for a larger replacement for markdown.