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

MFM Rendering #42

Open
21 of 38 tasks
nilathedragon opened this issue Nov 26, 2023 · 1 comment
Open
21 of 38 tasks

MFM Rendering #42

nilathedragon opened this issue Nov 26, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@nilathedragon
Copy link
Contributor

nilathedragon commented Nov 26, 2023

Supported MFM syntax

  • @mention
  • #hashtag
  • [Markdown Link](https://example.com)
  • https://regular.link/
  • :custom_emoji:
  • **bold**
  • <small>
  • > Quote
  • <center>
  • $[center]
  • Inline Quotes (This)
  • Code Block (This)
  • Math Inline \(x= \frac{-b' \pm \sqrt{(b')^2-ac}}{a}\)
  • Math Block ``
  • Search Firefish expands the world of the Fediverse [search]
  • $[flip]
  • $[font]
  • $[x2]
  • $[x3]
  • $[x4]
  • $[blur]
  • $[jelly]
  • $[tada]
  • $[jump]
  • $[bounce]
  • $[spin]
  • $[shake]
  • $[twitch]
  • $[rainbow]
  • $[sparkle]
  • $[rotate]
  • $[fade]
  • $[crop]
  • $[position] (Caveat: Rotation in combination with position will result in weird behaviour as the rotation center is not moved)
  • $[scale]
  • $[fg.color]
  • $[bg.color]
  • <plain>

We aim to support as many as possible, but cannot guarantee full parity with misskey rendered MFM in the web browser as CSS and SwiftUI are just too different.

Difficult MFM Tests:

@nilathedragon
Copy link
Contributor Author

Well this post already showed a flaw in the way I handled arguments for modifiers.

Also I have no idea yet how to do the spin.

@nilathedragon nilathedragon self-assigned this Nov 26, 2023
@nilathedragon nilathedragon added the enhancement New feature or request label Nov 26, 2023
@nilathedragon nilathedragon changed the title The final boss for MFM Rendering MFM Rendering Dec 1, 2023
@nilathedragon nilathedragon pinned this issue Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant