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

Add CommonMark as optional text format suggestion to instance description #86

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

6543
Copy link
Contributor

@6543 6543 commented Dec 21, 2023

As per #78 (comment)

add suggestion to have text formatted in CommonMark.

@6543 6543 mentioned this pull request Dec 21, 2023
@6543 6543 force-pushed the instance.description_opt-format branch from a6e9857 to 8dd2f44 Compare December 21, 2023 19:59
@6543
Copy link
Contributor Author

6543 commented Dec 21, 2023

examples already using formation:

  • sloth.run: CommonMark
  • soshar.dess.ga: HTML
  • darnell.day: CommonMark
  • kira.zone: HTML
  • social.shiggy.fun: HTML

data from the-federation.info

select count(node.domain) from (select node_id,data->'metadata'->'nodeDescription'::text as d from node_info where data->'metadata'->'nodeDescription' IS NOT NULL) JOIN node on node.id=node_id WHERE d::text like '%<br>%';

-> 263

select count(node.domain) from (select node_id,data->'metadata'->'nodeDescription'::text as d from node_info where data->'metadata'->'nodeDescription' IS NOT NULL) JOIN node on node.id=node_id WHERE d::text like '%](%';

-> 57

so you could say most use HTML but CommonMark is also used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant