diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..07e6e47 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/node_modules diff --git a/blog/annoucement-showdown-2.0.md b/blog/annoucement-showdown-2.0.md new file mode 100644 index 0000000..1ace834 --- /dev/null +++ b/blog/annoucement-showdown-2.0.md @@ -0,0 +1,65 @@ +««« +title: Annoucement: Showdown 2.0, +author: Estevão Soares dos Santos, +author_avatar: img/avatars/tivie.jpg, +date: 2017-12-12, +language: en, +image: img/blog/2017.12.12.jpg, +summary: Showdown version 1.0.0 was released almost 3 years ago, back in May 2015. + Since then, it has seen a lot of improvements, with a boost to performance and a significant number of features now + included in the core of the library. However, do to backwards compatibility constrains, we are still supporting a + lot of legacy features, that prevent us from moving the software forward. + With that in mind, **it is time to start thinking about Showdown version 2.0.** + For the next major release of Showdown we have planned a range of **significant changes and additions**. +»»» +Showdown version 1.0.0 was released almost 3 years ago, back in May 2015. +Since then, it has seen a lot of improvements, with a boost to performance and +a significant number of features now included in the core of the library. + +However, do to backwards compatibility constrains, we are still supporting a lot +of legacy features, that prevent us from moving the software forward. + +With that in mind, **it is time to start thinking about Showdown version 2.0.** + +For the next major release of Showdown we have planned a range of **significant changes +and additions**. Here are a few of the most important ones: + +## Reverse Conversion (HTML to MD) + +Being a popular request by our users, we though that a new major version is the perfect +opportunity to implement this feature. + +This feature requires a number of changes throughout the code and API. For instance, +the extension system must be redesigned to allow for extensions to hook unto both +processes (HTML->MD and MD->HTML). Event and option names must also reflect this +since, as they stand now, they might cause confusion. + +## Extensions + +We are (finally) **completely dropping support for legacy extensions**. Although there are a +couple old ones still in the wild, most of them (if not all) have already +migrated to the modern extension system. + +We are also revamping the extension system. For starters, **we're dropping old "lang" +and "output" extension in favour of event extensions**. + +The **API of event extensions will also change** in order to mimic the browser events +and play nicely with other libraries and frameworks. + +## Subparsers + +**Subparsers will also see a major code refactoring**, with performance improvements. +Although performance is no longer an issue, mainly due to the way new browsers +handle Regular Expressions, there are a couple of issues that still need to be addressed. +Most of the issues can be fixed if we drop support for old browsers and old nodejs versions. + +## Development + +Formally, Showdown 2.0 will start development in the beginning of 2018 and all +development efforts will be put into it. +This means **Showdown 1.x will now enter maintenance mode, that is, no new features +will be added** and only important bugfixes will be committed. + +We expect to release a stable version of Showdown 2.0 somewhere around June 2018, +but an alpha-version might be released a lot sooner. ***So, if you are as excited as +we are, stay tuned for more information***. diff --git a/blog/img/2017.12.12.jpg b/blog/img/2017.12.12.jpg new file mode 100644 index 0000000..31f743c Binary files /dev/null and b/blog/img/2017.12.12.jpg differ diff --git a/blog/posts.json b/blog/posts.json new file mode 100644 index 0000000..fa58f76 --- /dev/null +++ b/blog/posts.json @@ -0,0 +1,16 @@ +[ + { + "id": 1, + "canonical": "annoucement-showdown-2.0", + "url": "blog/annoucement-showdown-2.0.md", + "metadata": { + "title": "Annoucement: Showdown 2.0", + "author": "Estevão Soares dos Santos", + "author_avatar": "img/avatars/tivie.jpg", + "date": "2017-12-12", + "language": "en", + "image": "blog/img/2017.12.12.jpg", + "summary": "Showdown version 1.0.0 was released almost 3 years ago, back in May 2015. Since then, it has seen a lot of improvements, with a boost to performance and a significant number of features now included in the core of the library. However, do to backwards compatibility constrains, we are still supporting a lot of legacy features, that prevent us from moving the software forward.\n\nWith that in mind, **it is time to start thinking about Showdown version 2.0.** For the next major release of Showdown we have planned a range of **significant changes and additions**." + } + } +] diff --git a/css/style.css b/css/style.css index 001712f..c8e5eae 100644 --- a/css/style.css +++ b/css/style.css @@ -1,4 +1,8 @@ /** typography **/ +body { + font-family: 'Open Sans', sans-serif; +} + h1, h2, h3, h4, h5, h6 { } @@ -7,7 +11,14 @@ h1, h2, h3, h4, h5, h6 { font-family: 'Anonymous Pro', monospace; } - +/** loading spinner **/ +.loadingoverlay { + background: url('../img/background-color.svg') no-repeat fixed center; + background-size: cover !important; +} +.loadingoverlay_fontawesome { + color: #584b4f; +} /** COLORS **/ @@ -199,6 +210,8 @@ a:active { #mainNavigation a.active { color: #a29f99; + pointer-events: none; + cursor: default; } #mainNavigation .navbar-toggler { @@ -305,6 +318,34 @@ h3[id$="breaking-changes"] { } +/** BLOG **/ +.blog-article .authoring-info { + margin-bottom: 1em; + padding-bottom: 1.5em; + height: 30px; + line-height: 30px; + border-top: 1px solid #8abaad; +} + +.blog-article .authoring-info img { + height: 22px; + width: auto; +} + +.blog-article { + padding-top: 1em; + padding-bottom: 3em; +} + +.blog-article h2 { + margin-bottom: 0.5em; +} + +.blog-article section.content p { + line-height: 2em; +} + + /** highlightjs override **/ .hljs { padding-top: 1em; diff --git a/html/blog-article.html b/html/blog-article.html new file mode 100644 index 0000000..d6fe837 --- /dev/null +++ b/html/blog-article.html @@ -0,0 +1,37 @@ +
+
+
+
+
+ + + \ No newline at end of file diff --git a/html/blog.html b/html/blog.html index 9a31999..5871c24 100644 --- a/html/blog.html +++ b/html/blog.html @@ -1,6 +1,36 @@
-

Blog

-

Coming soon!!

+
+ +
-
\ No newline at end of file + + + + diff --git a/html/main.html b/html/main.html index 46445f8..21d437b 100644 --- a/html/main.html +++ b/html/main.html @@ -79,10 +79,10 @@ var html = converter.makeHtml(md);
-

Sponsors

+

Friends of Showdown

-
jetbrains
-
zapier
+
jetbrains
+
zapier
diff --git a/html/releases.html b/html/releases.html index fad4a7c..0a5ffc6 100644 --- a/html/releases.html +++ b/html/releases.html @@ -1,12 +1,6 @@

Releases

-
-
-
- Loading... -
-
@@ -60,7 +60,7 @@
-

Showdown

+

Showdown

A Markdown to HTML converter written in Javascript!

Download
@@ -75,7 +75,7 @@
-
+
+ + + + + + +