From f2d8dc2de4e6e7a263081bc302eaf1979b914166 Mon Sep 17 00:00:00 2001 From: Will Eastcott Date: Fri, 26 Apr 2024 12:43:52 +0100 Subject: [PATCH] Add mardownlint --- README.md | 10 +- ...07-how-to-make-your-html5-games-awesome.md | 2 +- ...g-from-wordpress-to-jekyll-a-case-study.md | 21 +- ...26-playcanvas-adds-sketchfab-itegration.md | 4 +- blog/2023-10-11-avif-webp-lands-in-editor.md | 4 +- package-lock.json | 184 +++++++++++++++++- package.json | 6 +- 7 files changed, 209 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 0c6c2c27b..13b76d5a1 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,13 @@ This website is built using [Docusaurus](https://docusaurus.io/), a modern stati ### Installation ``` -$ yarn +yarn ``` ### Local Development ``` -$ yarn start +yarn start ``` This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. @@ -19,7 +19,7 @@ This command starts a local development server and opens up a browser window. Mo ### Build ``` -$ yarn build +yarn build ``` This command generates static content into the `build` directory and can be served using any static contents hosting service. @@ -29,13 +29,13 @@ This command generates static content into the `build` directory and can be serv Using SSH: ``` -$ USE_SSH=true yarn deploy +USE_SSH=true yarn deploy ``` Not using SSH: ``` -$ GIT_USER= yarn deploy +GIT_USER= yarn deploy ``` If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch. diff --git a/blog/2023-02-07-how-to-make-your-html5-games-awesome.md b/blog/2023-02-07-how-to-make-your-html5-games-awesome.md index 0fd2f8776..c28989c7f 100644 --- a/blog/2023-02-07-how-to-make-your-html5-games-awesome.md +++ b/blog/2023-02-07-how-to-make-your-html5-games-awesome.md @@ -366,7 +366,7 @@ The combined effects look like this: You'll notice I've added screen shake to more than just the player getting hit! I'm a big fan of this effect, so I've added it to asteroid explosions and firing bullets as well! -## And that about does it! +## And that about does it With the effects we added above, the game looks and plays entirely different. Destroying asteroids **feels** good, and everything else in the game is there to enhance that experience. diff --git a/blog/2023-06-07-moving-from-wordpress-to-jekyll-a-case-study.md b/blog/2023-06-07-moving-from-wordpress-to-jekyll-a-case-study.md index 440500c14..b40d436af 100644 --- a/blog/2023-06-07-moving-from-wordpress-to-jekyll-a-case-study.md +++ b/blog/2023-06-07-moving-from-wordpress-to-jekyll-a-case-study.md @@ -32,16 +32,19 @@ First up, I should say that you should make use of ChatGPT when you attempt some 1. **Export Your WordPress Content.** On your WordPress Dashboard, navigate to Tools > Export and select 'All Content'. Click 'Download Export File'. You should receive an XML file that contains all of your site’s content. 2. **Convert WordPress Export to Jekyll Format.** To convert your WordPress export file to a Jekyll-friendly format, you can use a tool called `exitwp`. Here are the steps: - - Clone or download `exitwp` from its [GitHub repository](https://github.com/thomasf/exitwp). - - Put your WordPress XML file in the `wordpress-xml` directory in the `exitwp` directory. - - Run `exitwp` (requires Python and some libraries, see the repo's `README` for details). - - This will generate a `_posts` directory containing all your blog posts converted into markdown format that Jekyll understands. + +- Clone or download `exitwp` from its [GitHub repository](https://github.com/thomasf/exitwp). +- Put your WordPress XML file in the `wordpress-xml` directory in the `exitwp` directory. +- Run `exitwp` (requires Python and some libraries, see the repo's `README` for details). +- This will generate a `_posts` directory containing all your blog posts converted into markdown format that Jekyll understands. + 3. **Setting Up Jekyll.** - - Install Ruby and Jekyll. For installation guide refer to [Jekyll's official site](https://jekyllrb.com/docs/installation/). - - Create a new Jekyll site by typing `jekyll new my-awesome-site` in the command line. - - Replace the `_posts` directory in your new Jekyll site with the `_posts` directory that `exitwp` generated. - - You can run your site locally to see how it looks by using the command `bundle exec jekyll serve`. - - Then, open your browser to http://localhost:4000. + +- Install Ruby and Jekyll. For installation guide refer to [Jekyll's official site](https://jekyllrb.com/docs/installation/). +- Create a new Jekyll site by typing `jekyll new my-awesome-site` in the command line. +- Replace the `_posts` directory in your new Jekyll site with the `_posts` directory that `exitwp` generated. +- You can run your site locally to see how it looks by using the command `bundle exec jekyll serve`. +- Then, open your browser to http://localhost:4000. Once I had our blog post content successfully exported to a basic Jekyll site, I checked everything in to a new [GitHub repository](https://github.com/playcanvas/blog). From this point, I wanted any change I made to the content to be tracked via Git version control - I mean, why wouldn't you? diff --git a/blog/2023-06-26-playcanvas-adds-sketchfab-itegration.md b/blog/2023-06-26-playcanvas-adds-sketchfab-itegration.md index fc2265cc5..edaeaab16 100644 --- a/blog/2023-06-26-playcanvas-adds-sketchfab-itegration.md +++ b/blog/2023-06-26-playcanvas-adds-sketchfab-itegration.md @@ -53,6 +53,6 @@ Sketchfab assets are all tagged with a license and an author. When you import Sk This ensures that the author's licensing wishes are respected and that they recieve credit for their work. -### Go Forth and Create! +### Go Forth and Create -With today's release, it's never been easier to create interactive 3D experiences for the web. We hope you love the new Sketchfab integration. But, as always, we *love* to hear your opinions so head over to the [forum](https://forum.playcanvas.com/t/playcanvas-integrates-sketchfab/31885) and join the conversation. Happy creating! 🚧👷 \ No newline at end of file +With today's release, it's never been easier to create interactive 3D experiences for the web. We hope you love the new Sketchfab integration. But, as always, we _love_ to hear your opinions so head over to the [forum](https://forum.playcanvas.com/t/playcanvas-integrates-sketchfab/31885) and join the conversation. Happy creating! 🚧👷 diff --git a/blog/2023-10-11-avif-webp-lands-in-editor.md b/blog/2023-10-11-avif-webp-lands-in-editor.md index 07a53438c..6c91d2be4 100644 --- a/blog/2023-10-11-avif-webp-lands-in-editor.md +++ b/blog/2023-10-11-avif-webp-lands-in-editor.md @@ -15,7 +15,7 @@ tags: ![AVIF + WebP Support](/img/avif-webp-icons.png) -#### Today we're excited to announce that PlayCanvas now supports WebP and AVIF images natively in the editor. Two new, efficient image formats built for the web. +#### Today we're excited to announce that PlayCanvas now supports WebP and AVIF images natively in the editor. Two new, efficient image formats built for the web This is not just an exciting update for us but a game-changer for anyone looking to optimize their projects for faster load times and better quality. @@ -23,7 +23,7 @@ JPGs and PNGs have served us well. They're reliable and you can use them everywh _Take a look at the following images_
-