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

Publish page should have markdown cheat sheet built in #165

Open
georgeowell opened this issue Feb 5, 2020 · 4 comments
Open

Publish page should have markdown cheat sheet built in #165

georgeowell opened this issue Feb 5, 2020 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@georgeowell
Copy link
Collaborator

What's the problem you want solved?
Markdown help sheet is on the old internet.

Is there a solution you'd like to recommend?
We should include a markdown cheatsheet in the application itself. I'm not exactly what this would look like. Perhaps a drop down as to not add clutter.

Not sure how this would be present on the "Comment" and "Reply" actions.

@georgeowell georgeowell added enhancement New feature or request good first issue Good for newcomers labels Feb 5, 2020
@christianbundy
Copy link
Member

Aside: Maybe it'd be useful to make all of the documentation in the docs/ directory available in the app? We have the readme available at /meta/readme, but we could add more. Although this opens the hairball about multi-lingual documentation.

@christianbundy
Copy link
Member

christianbundy commented Feb 18, 2020

Step one: make an SSB-Markdown cheat sheet.

  • _italic_
  • **bold**
  • # heading 1
  • ## heading 2
  • ### heading 3
  • [link](http://example.com)
  • %ssblink.sha256
  • ![my image](&ssblink.sha256)
  • ![audio:my song](&ssblink.sha256)
  • ![video:my clip](&ssblink.sha256)
  • > blockquote
  • - list a
    - list b
    - list c
    
  • 1. list
    2. list
    3. list
    
  • --- horizontal rule
  • `inline code`
  • ```python
    code block
    ```
    

Maybe someone could make this suck less and put it in the repo?


Also newlines are treated like newlines from GitHub-flavored Markdown.

If you do something
like this, with one line break,
it actually does a literal line break.

Fun.

@Danie10
Copy link

Danie10 commented Feb 19, 2020

This works specifically for embedding a YouTube video with its thumbnail:

[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg)](http://www.youtube.com/watch?v=YOUTUBE_VIDEO_ID_HERE)

@cinnamon-bun cinnamon-bun added this to the Usable SSB client milestone Feb 20, 2020
@black-puppydog
Copy link
Collaborator

@Danie10 Oasis (and patchwork for that matter) actually refuses to embed that external thumbnail and instead shows the alt text. This is by design, to avoid people embedding tracking pixels and other nefarious things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Development

No branches or pull requests

5 participants