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

replace kramdown with GFM #210

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,7 @@ plugins:
- jekyll-seo-tag
- jekyll-sitemap

markdown: GFM

include:
- .well-known
54 changes: 25 additions & 29 deletions _includes/modetable.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,29 @@
<!-- markdownlint-disable MD033 MD041 -->
{::nomarkdown}<div class="table">{:/}
<!-- markdownlint-disable MD013 MD033 MD041 -->
<div class="table">

<table>
<thead>
<tr>
{% if include.modes[0].type %}
<th>Type (name)</th>
{% else %}
<th>Mode (name)</th>
{% endif %}
<th>Description</th>
</tr>
</thead>
<tbody>
{% for mode in include.modes %}
<tr>
<td>
{% if mode.type %}
<code>{{ mode.type }}</code>
{% else %}
<code>{{ mode.mode }}</code>
{% endif %}
<br/>
{{ mode.name }}
</td>
<td>{{ mode.description | markdownify }}</td>
</tr>
{% endfor %}
</tbody>
<thead>
<tr>
{% if include.modes[0].type %}
<th>Type (name)</th>
{% else %}
<th>Mode (name)</th>
{% endif %}
<th>Description</th>
</tr>
</thead>
<tbody>
{% for mode in include.modes %}
<tr>
<td>
{% if mode.type %}<code>{{ mode.type }}</code>{% else %}<code>{{ mode.mode }}</code>{% endif %}
<br/>
{{ mode.name }}
</td>
<td>{{ mode.description | markdownify }}</td>
</tr>
{% endfor %}
</tbody>
</table>

{::nomarkdown}</div>{:/}
</div>
4 changes: 2 additions & 2 deletions chanreg.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ blessing of someone who is able to speak for the project. This could be:
### How to register as a project

We recommend you contact us as per the
[Projects & Community team](#the-projects--community-team) section
[Projects & Community team](#the-projects-amp-community-team) section
before registering, so we can already check whether your project is likely to
be considered eligible to a registration. Once done, we will need the
following information from you:
Expand Down Expand Up @@ -168,7 +168,7 @@ eligible for a project registration but do not have an official representation
### How to register as a community

We recommend you contact us as per the
[Projects & Community team](#the-projects--community-team) section
[Projects & Community team](#the-projects-amp-community-team) section
before registering, so we can already check whether your community is likely
to be considered eligible to a registration. Once done, we will need the
following information from you:
Expand Down
2 changes: 2 additions & 0 deletions content/_guides/connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Connect to Libera.Chat with TLS at `irc.libera.chat` on port `6697`.

Additional regional and address-specific hostnames are available:

| | |
| ------------------------- | ---------------------- |
| Default | `irc.libera.chat` |
| Europe | `irc.eu.libera.chat` |
Expand All @@ -22,6 +23,7 @@ Additional regional and address-specific hostnames are available:

Additional ports are available:

| | |
| ---------- | -------------------- |
| Plain-text | 6665-6667, 8000-8002 |
| TLS | 6697, 7000, 7070 |
Expand Down
18 changes: 9 additions & 9 deletions content/_guides/creatingchannels.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ If you are unsure of any of the above, talk with Libera.Chat staff. You can
find staff either in `#libera` or on `/stats p`.

Once you have resolved the conflict, you can resume
[the registration process](#registering-with-chanserv).
[the registration process](#registering-with-codechanservcode).

### Special Instructions for Group Contacts

Expand All @@ -137,17 +137,17 @@ already taken.

```irc
09:23 -- ChanServ: ***** ChanServ Help *****
09:23 -- ChanServ:
09:23 -- ChanServ:
09:23 -- ChanServ: Help for CLAIM:
09:23 -- ChanServ:
09:23 -- ChanServ:
09:23 -- ChanServ: The CLAIM command allows you to take control of a channel
09:23 -- ChanServ: belonging to a project you are authorized to represent.
09:23 -- ChanServ:
09:23 -- ChanServ: Syntax: CLAIM <#channel>
09:23 -- ChanServ:
09:23 -- ChanServ:
09:23 -- ChanServ: Syntax: CLAIM <#channel>
09:23 -- ChanServ:
09:23 -- ChanServ: Examples:
09:23 -- ChanServ: /msg ChanServ CLAIM #coolproject-dev
09:23 -- ChanServ:
09:23 -- ChanServ: /msg ChanServ CLAIM #coolproject-dev
09:23 -- ChanServ:
09:23 -- ChanServ: ***** End of Help *****
```

Expand Down Expand Up @@ -222,7 +222,7 @@ will not be able to get the channel back without their cooperation or by

We also recommend against using `+O` or `+V` as these flags mean people will
be given Operator or Voiced status on joining a channel. See
[the catalyst guide](/guides/catalyst#only-be-opped-up-when-necessary)
[the catalyst guide](/guides/catalyst#only-be-quotopped-upquot-when-necessary)
for the philosophy behind this.

## Other channel settings
Expand Down
45 changes: 19 additions & 26 deletions sponsors.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,30 @@ Libera Chat is run thanks to a number of people, projects, and organisations
who provide both time and resources to Libera Chat. Without them none of this
would be possible

{::nomarkdown}
<!-- markdownlint-disable MD013 MD033 -->

<div class="sponsors">
{% assign current_sponsors = site.data.sponsors | where: 'current', true %}
{% for sponsor in current_sponsors %}
<a href="{{ sponsor.link }}" {% if sponsor.skip_htmlproofer %}data-proofer-ignore {% endif %}rel="noopener noreferrer">
{% if sponsor.image %}
{% if sponsor.sources %}
<picture>
{% for source in sponsor.sources %}
<source
srcset="{{ source.srcset }}"
{% if source.type %}type="{{ source.type }}"{% endif %}
{% if source.media %}media="{{ source.media }}"{% endif %}
>
{% endfor %}
{% endif %}
<img src="{{ sponsor.image }}" alt="{{ sponsor.name }}" loading="lazy" height="64" />
{% if sponsor.sources %}
</picture>
{% endif %}
{% else %}
{{ sponsor.name }}
{% endif %}
</a>
{% endfor %}
{% assign current_sponsors = site.data.sponsors | where: 'current', true %}
{% for sponsor in current_sponsors %}
<a href="{{ sponsor.link }}" {% if sponsor.skip_htmlproofer %}data-proofer-ignore {% endif %}rel="noopener noreferrer">
{% if sponsor.image %}
{% if sponsor.sources %}
<picture>
{% for source in sponsor.sources %}
<source srcset="{{ source.srcset }}" {% if source.type %}type="{{ source.type }}"{% endif %} {% if source.media %}media="{{ source.media }}"{% endif %}>
{% endfor %}
{% endif %}
<img src="{{ sponsor.image }}" alt="{{ sponsor.name }}" loading="lazy" height="64" />
{% if sponsor.sources %}
</picture>
{% endif %}
{% else %}
{{ sponsor.name }}
{% endif %}
</a>
{% endfor %}
</div>

{:/}

{% assign past_sponsors = site.data.sponsors | where: 'current', false %}

{% if past_sponsors.size > 0 %}
Expand Down