From b04db8bfce9cddd36c9a38757479e281be6e0988 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 8 Dec 2021 18:54:56 +0200 Subject: [PATCH] dfsfds --- files/templates/authforms.html | 4 +- files/templates/default.html | 4 +- files/templates/formatting.html | 56 +++++++------------------ files/templates/log.html | 4 +- files/templates/login_2fa.html | 2 +- files/templates/settings.html | 2 +- files/templates/settings2.html | 4 +- files/templates/sign_up.html | 2 +- files/templates/sign_up_failed_ref.html | 2 +- files/templates/submission.html | 4 +- files/templates/submission_listing.html | 2 +- files/templates/submit.html | 4 +- 12 files changed, 33 insertions(+), 57 deletions(-) diff --git a/files/templates/authforms.html b/files/templates/authforms.html index d46907db0..b9e65377f 100644 --- a/files/templates/authforms.html +++ b/files/templates/authforms.html @@ -13,11 +13,11 @@ {% if v %} - + {% if v.agendaposter %}{% elif v.css %}{% endif %} {% else %} - + {% endif %} diff --git a/files/templates/default.html b/files/templates/default.html index 89007c301..f12641de0 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -5,12 +5,12 @@ {% if v %} - + {% if v.agendaposter %}{% elif v.css %}{% endif %} {% else %} - + {% endif %} diff --git a/files/templates/formatting.html b/files/templates/formatting.html index 9c82f9f9e..2acbd8dd9 100644 --- a/files/templates/formatting.html +++ b/files/templates/formatting.html @@ -9,16 +9,14 @@ -

Formatting

+

Markdown Formatting

-On {{'SITE_NAME' | app_config}}, you can use Markdown formatting. +You can use Markdown formatting.
 
 
-

Inline formatting

- @@ -53,6 +51,17 @@ On {{'SITE_NAME' | app_config}}, you can use Markdown formatting. + + + + + + + + + + + @@ -83,22 +92,6 @@ On {{'SITE_NAME' | app_config}}, you can use Markdown formatting. - -
[{{'SITE_NAME' | app_config}}]({{request.host_url}}) {{'SITE_NAME' | app_config}}
Imageshttps://i.imgur.com/Lf6dfPO.jpg
Videos[{{'SITE_NAME' | app_config}}]({{request.host_url}})
Emojis :marseylove:
- -

Block formatting

- -These Markdown tags format an entire paragraph of text at a time. - - - - - - - - - - @@ -134,23 +127,6 @@ These Markdown tags format an entire paragraph of text at a time. - -
NameTypeDisplays as
Blockquote > text<s> bussy > gussy </s>

bussy > gussy

- - -

Custom Formatting

- -We also have some custom hooks for mentioning users and subreddits. Note that these only work if the mentioned user or subreddit actually exists. - - - - - - - - - - @@ -169,7 +145,7 @@ We also have some custom hooks for mentioning users and subreddits. Note that th
NameTypeDisplays as
Username Mention @QuadNarca
-

Custom HTML

+

HTML Formatting

And we allow custom HTML in most places. @@ -449,10 +425,10 @@ line breaks Images - <img src="https://i.imgur.com/SwVuagI_d.webp" width="200"> + <img src="https://i.imgur.com/Lf6dfPO.jpg" width="200"> - + diff --git a/files/templates/log.html b/files/templates/log.html index e1ca1e331..59ae8ffc6 100644 --- a/files/templates/log.html +++ b/files/templates/log.html @@ -6,11 +6,11 @@ {% block content %} {% if v %} - + {% if v.agendaposter %}{% elif v.css %}{% endif %} {% else %} - + {% endif %}
diff --git a/files/templates/login_2fa.html b/files/templates/login_2fa.html index 99059ed08..7c80270a3 100644 --- a/files/templates/login_2fa.html +++ b/files/templates/login_2fa.html @@ -12,7 +12,7 @@ 2-Step Login - {{'SITE_NAME' | app_config}} - + diff --git a/files/templates/settings.html b/files/templates/settings.html index 04c0566f4..c1837701c 100644 --- a/files/templates/settings.html +++ b/files/templates/settings.html @@ -31,7 +31,7 @@ - + {% if v.agendaposter %}{% elif v.css %}{% endif %} diff --git a/files/templates/settings2.html b/files/templates/settings2.html index 360570ef9..b0ee435ca 100644 --- a/files/templates/settings2.html +++ b/files/templates/settings2.html @@ -36,10 +36,10 @@ {% if v %} - + {% else %} - + {% endif %} diff --git a/files/templates/sign_up.html b/files/templates/sign_up.html index b6d249593..8f36255ce 100644 --- a/files/templates/sign_up.html +++ b/files/templates/sign_up.html @@ -28,7 +28,7 @@ {% if ref_user %}{{ref_user.username}} invites you to {{'SITE_NAME' | app_config}}{% else %}Sign up - {{'SITE_NAME' | app_config}}{% endif %} - + diff --git a/files/templates/sign_up_failed_ref.html b/files/templates/sign_up_failed_ref.html index 62b0973f6..e72376ccf 100644 --- a/files/templates/sign_up_failed_ref.html +++ b/files/templates/sign_up_failed_ref.html @@ -29,7 +29,7 @@ {% if ref_user %}{{ref_user.username}} invites you to {{'SITE_NAME' | app_config}}{% else %}{{'SITE_NAME' | app_config}}{% endif %} - + diff --git a/files/templates/submission.html b/files/templates/submission.html index da99c2b4c..dc7bc0005 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -454,8 +454,8 @@ {% elif p.url and p.url.lower().endswith('.mp4') %}
-
diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index d679f2588..3c15572cd 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -487,7 +487,7 @@ {% if p.url and p.url.lower().endswith('.mp4') %}
-
diff --git a/files/templates/submit.html b/files/templates/submit.html index 416b7e010..5d5cd3928 100644 --- a/files/templates/submit.html +++ b/files/templates/submit.html @@ -23,11 +23,11 @@ {% block stylesheets %} {% if v %} - + {% if v.agendaposter %}{% elif v.css %}{% endif %} {% else %} - + {% endif %} {% endblock %}