[BLOG][Milestone] Markdown

This commit is contained in:
Diogo Peralta Cordeiro 2022-01-18 11:41:14 +00:00
parent 4c9e39be09
commit 980e4fcb03
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0
25 changed files with 121 additions and 61 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -2,10 +2,29 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel><title>GNU social V3</title><link>https://gnusocial.rocks/v3/index.html</link>
<description>Development blog where we announce our progress.</description><language>en</language>
<lastBuildDate>Tue, 18 Jan 2022 02:10:31 +0000</lastBuildDate>
<pubDate>Tue, 18 Jan 2022 02:10:31 +0000</pubDate>
<lastBuildDate>Tue, 18 Jan 2022 11:40:55 +0000</lastBuildDate>
<pubDate>Tue, 18 Jan 2022 11:40:55 +0000</pubDate>
<atom:link href="https://gnusocial.rocks/v3/feed.rss" rel="self" type="application/rss+xml" />
<item><title>
Milestone: Notes with Markdown
</title><description><![CDATA[
<p>Markdown content types is now supported.</p>
<p><img src="assets/notes/content_type.png" alt="" title="" /></p>
<h2>Markdown</h2>
<p><img src="assets/notes/markdown_content.png" alt="" title="" />
<img src="assets/notes/markdown_rendered.png" alt="" title="" /></p>
<!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/milestone-notes-with-markdown.html</link>
<guid>https://gnusocial.rocks/v3/./milestone-notes-with-markdown.html</guid>
<dc:creator>GNU social development team</dc:creator>
<pubDate>Tue, 18 Jan 2022 11:40:49 +0000</pubDate></item>
<item><title>
Milestone: Pinned Notes
</title><description><![CDATA[
This plugin federates using <a href="https://docs.joinmastodon.org/spec/activitypub/#featured">Mastodon's featured collection extension</a>.
@ -13,6 +32,7 @@ This plugin federates using <a href="https://docs.joinmastodon.org/spec/activity
<img src="assets/profile/pin_note.png" alt="" title="" /></p>
<!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/milestone-pinned-notes.html</link>
<guid>https://gnusocial.rocks/v3/./milestone-pinned-notes.html</guid>
@ -44,6 +64,7 @@ Monetization in the fediverse.</p>
<!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/milestone-web-monetization.html</link>
<guid>https://gnusocial.rocks/v3/./milestone-web-monetization.html</guid>
@ -61,6 +82,7 @@ to stop receiving notifications derived from that, it is now possible:
<!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/milestone-mute-notifications-from-a-conversation.html</link>
<guid>https://gnusocial.rocks/v3/./milestone-mute-notifications-from-a-conversation.html</guid>
@ -96,6 +118,7 @@ specialisation of a collection.</p>
<!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/milestone-albums.html</link>
<guid>https://gnusocial.rocks/v3/./milestone-albums.html</guid>
@ -157,6 +180,7 @@ automatically</a>.</p>
<!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/milestone-collections.html</link>
<guid>https://gnusocial.rocks/v3/./milestone-collections.html</guid>
@ -185,6 +209,7 @@ plugin? How is it better than v2's?</p>
<!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/milestone-activitypub.html</link>
<guid>https://gnusocial.rocks/v3/./milestone-activitypub.html</guid>
@ -292,6 +317,7 @@ tag.</p>
<!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/milestone-tags.html</link>
<guid>https://gnusocial.rocks/v3/./milestone-tags.html</guid>
@ -371,6 +397,7 @@ Given a valid colour, it's the actor's responsibility whether or not the colours
<!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/milestone-actor-colour-theme-plugin.html</link>
<guid>https://gnusocial.rocks/v3/./milestone-actor-colour-theme-plugin.html</guid>
@ -400,68 +427,10 @@ Updates: Interface Structure and Flexibility improved
<!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/updates-interface-structure-and-flexibility-improved.html</link>
<guid>https://gnusocial.rocks/v3/./updates-interface-structure-and-flexibility-improved.html</guid>
<dc:creator>GNU social development team</dc:creator>
<pubDate>Thu, 09 Dec 2021 01:20:44 +0000</pubDate></item>
<item><title>
Milestone: Notes and Actors with languages
</title><description><![CDATA[
<p>Well, it's that, our notes now have a language attribute.</p>
<p>... All right, all right, it's not <em>just</em> it.</p>
<h2>Here's what comes with it:</h2>
<ul>
<li><a href="">Filter the streams with only the languages you know</a></li>
<li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/components/Tag/Tag.php#L135-L146">Make Tag Wrangling possible and transversal to languages</a></li>
<li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/ActivityPub/Util/Model/Note.php#L123">Federate the language for a more inclusive free network</a></li>
</ul>
<h2>Here's how it looks</h2>
<p>First, the user panel section where the desired preferences are selected:
<img src="assets/notes_and_actors_with_languages/settings_language.png" alt="User panel language settings section" title="" /></p>
<p>Upon sending the previous form, the user is redirected to order their selection:
<img src="assets/notes_and_actors_with_languages/settings_language_order.png" alt="Ordering the selections made in previous page" title="" /></p>
<p>Finally, when posting the language with the highest priority is selected by default.</p>
<p>However, by accessing "Additional options", another language may be selected. The resulting
note will have the html <code>lang</code> attribute according to it.</p>
<p>The posting widget itself:
<img src="assets/notes_and_actors_with_languages/posting_language_options.png" alt="Selecting the language of a note when posting" title="" /></p>
<h2>What does this mean?</h2>
<p>We can now show you the notes you can read, but for groups, this mean that you
can access umbrella groups and filter the feeds to see what's in your language
and even region.</p>
<p>For too long the fediverse struggled with languages, this step makes it easier
for actual internationalization of the free network.</p>
<h2>A marvellous feed filtered by note language</h2>
<p><img src="assets/notes_and_actors_with_languages/feed-note-lang-pt.png" alt="" title="" /></p>
<!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/milestone-notes-and-actors-with-languages.html</link>
<guid>https://gnusocial.rocks/v3/./milestone-notes-and-actors-with-languages.html</guid>
<dc:creator>GNU social development team</dc:creator>
<pubDate>Thu, 09 Dec 2021 00:50:02 +0000</pubDate></item>
</channel></rss>

View File

@ -45,6 +45,7 @@ Our objective is to further differentiate GNU social from the alternative softwa
<h3>Blog</h3>
<h4 class='allposts_header'>January 2022</h4>
<ul>
<li><a href="./milestone-notes-with-markdown.html">Milestone: Notes with Markdown</a> &mdash; January 18, 2022</li>
<li><a href="./milestone-pinned-notes.html">Milestone: Pinned Notes</a> &mdash; January 18, 2022</li>
<li><a href="./milestone-web-monetization.html">Milestone: Web Monetization</a> &mdash; January 18, 2022</li>
<li><a href="./milestone-mute-notifications-from-a-conversation.html">Milestone: Mute notifications from a conversation</a> &mdash; January 18, 2022</li>

View File

@ -61,6 +61,7 @@ plugin? How is it better than v2's?</p>
<!-- text end -->
<!-- entry end -->
</div>

View File

@ -86,6 +86,7 @@ GNU social development team
<!-- text end -->

View File

@ -112,6 +112,7 @@ Given a valid colour, it's the actor's responsibility whether or not the colours
<!-- text end -->
<!-- entry end -->
</div>

View File

@ -68,6 +68,7 @@ specialisation of a collection.</p>
<!-- text end -->
<!-- entry end -->
</div>

View File

@ -94,6 +94,7 @@ automatically</a>.</p>
<!-- text end -->
<!-- entry end -->
</div>

View File

@ -112,6 +112,7 @@ is properly tested, we have the
<!-- text end -->

View File

@ -50,6 +50,7 @@ to stop receiving notifications derived from that, it is now possible:
<!-- text end -->
<!-- entry end -->
</div>

View File

@ -92,6 +92,7 @@ for actual internationalization of the free network.</p>
<!-- text end -->
<!-- entry end -->
</div>

View File

@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=0.86, maximum-scale=5.0, minimum-scale=0.86">
<link rel="shortcut icon" href="/favicon.ico">
<link rel="stylesheet" href="https://www.gnusocial.rocks//assets/css/reset.css">
<link rel="stylesheet" href="https://www.gnusocial.rocks//assets/css/blog.css">
<link rel='stylesheet' type='text/css' href="https://www.gnusocial.rocks//assets/fonts/opensans/opensans.css"><title>Milestone: Notes with Markdown - GNU social V3</title>
</head><body>
<header>
<div class="home-menu menu menu-horizontal menu-fixed">
<a class="menu-heading" href="https://gnusocial.rocks/">
<img src="../assets/img/gnu-social-logo-invert.svg" alt="GNU social">
<b>gnu</b>social
</a>
</div>
<div class="sidebar">
<ul class="menu-list">
<li class="menu-item menu-selected"><a href="index.html" class="menu-link">Blog Index</a></li>
<li class="menu-item"><a href="https://code.gnusocial.rocks/" class="menu-link">Repository</a></li>
<li class="menu-item"><a href="https://coverage.gnusocial.rocks/" class="menu-link">Code Coverage</a></li>
<li class="menu-item"><a href="https://docs.gnusocial.rocks/" class="menu-link">Documentation</a></li>
<li class="menu-item"><a href="https://agile.gnusocial.rocks/" class="menu-link">Wiki</a></li>
<li class="menu-item"><a href="https://kanban.undefinedhackers.net/?controller=BoardViewController&action=readonly&token=d2293e55cabae7cceff9fb496c651328195357d392b9e61a9f229ed6d463" class="menu-link">Roadmap</a></li>
</ul>
</div>
</header>
<div class="content-wrapper">
<div class="content">
</div></div></div>
<div id="template-wrapper"><div class="template-unit">
<!-- entry begin -->
<h3><a class="ablack" href="milestone-notes-with-markdown.html">
Milestone: Notes with Markdown
</a></h3>
<!-- bashblog_timestamp: #202201181140.49# -->
<div class="subtitle">January 18, 2022 &mdash;
GNU social development team
</div>
<!-- text begin -->
<p>Markdown content types is now supported.</p>
<p><img src="assets/notes/content_type.png" alt="" title="" /></p>
<h2>Markdown</h2>
<p><img src="assets/notes/markdown_content.png" alt="" title="" />
<img src="assets/notes/markdown_rendered.png" alt="" title="" /></p>
<!-- text end -->
<!-- entry end -->
</div>
</div></div>
<footer class="footer l-box is-center">
This site's source is
<a href="https://code.undefinedhackers.net/GNUsocial/gnusocial.rocks">hosted here</a>.
</footer></body></html>

View File

@ -0,0 +1,10 @@
Milestone: Notes with Markdown
Markdown content types is now supported.
![](assets/notes/content_type.png)
## Markdown
![](assets/notes/markdown_content.png)
![](assets/notes/markdown_rendered.png)

View File

@ -46,6 +46,7 @@ This plugin federates using <a href="https://docs.joinmastodon.org/spec/activity
<img src="assets/profile/pin_note.png" alt="" title="" /></p>
<!-- text end -->
<!-- entry end -->
</div>

View File

@ -116,6 +116,7 @@ The key ones are:</p>
<!-- text end -->

View File

@ -140,6 +140,7 @@ tag.</p>
<!-- text end -->
<!-- entry end -->
</div>

View File

@ -64,6 +64,7 @@ Monetization in the fediverse.</p>
<!-- text end -->
<!-- entry end -->
</div>

View File

@ -148,6 +148,7 @@ GNU social development team
<!-- text end -->

View File

@ -84,6 +84,7 @@ attempts to generate a page preview from open graph and oembed. I.e., acts when
<!-- text end -->

View File

@ -117,6 +117,7 @@ any remote URL being shared in a note.</li>
<!-- text end -->

View File

@ -149,6 +149,7 @@ markup, we hope to achieve an accessible, fast and polished structure by which a
<!-- text end -->

View File

@ -62,6 +62,7 @@ GNU social development team
<!-- text end -->
<!-- entry end -->
</div>

View File

@ -92,6 +92,7 @@ forget to subscribe!</p>
<!-- text end -->