From bc851ccb8c56311cbbde009d3d4c9949876d4d02 Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Fri, 25 Dec 2020 18:32:33 +0000 Subject: [PATCH] Update instructions --- _site/young-reporter/index.html | 22 +++++++++++++++++++--- young-reporter/index.md | 21 ++++++++++++++++++--- 2 files changed, 37 insertions(+), 6 deletions(-) diff --git a/_site/young-reporter/index.html b/_site/young-reporter/index.html index b210363..69ce7de 100644 --- a/_site/young-reporter/index.html +++ b/_site/young-reporter/index.html @@ -159,12 +159,28 @@
  • For links, use [text to show in article](URL).
  • To include an extra image (besides the cover image), use:
  • -
    {% include image.html id=ID_OF_IMAGE caption="IMAGE_CAPTION" copyright="IMAGE_COPYRIGHT" %}
    -

    replacing ID_OF_IMAGE with a unique ID for the image in your article - start at 1 for the first image (excluding the cover image).

    +
    +
    +
    {% include image.html caption="IMAGE_CAPTION" copyright="IMAGE_COPYRIGHT" %}
    +

    Replace `IMAGE_CAPTION` with a caption for the image, and `IMAGE COPYRIGHT` with the copyright owner. E.g.:

    +
    {% include image.html caption="Test image caption" copyright="Reading School" %}
    +
    +
    + + +
    +
    +
    {% include video.html id="VIDEO_ID" %}
    +

    Replace `VIDEO_ID` with the YouTube video ID (e.g. for https://www.youtube.com/watch?v=dQw4w9WgXcQ, the video ID is dQw4w9WgXcQ). An example:

    +
    {% include video.html id="dQw4w9WgXcQ" %}
    +
    +

    The cover image for your article must be a JPEG image, and have the jpg file extension. If your image is a PNG, you can convert it using an online tool. The file name must also be the same as your article’s file name. This will be provided to you when you download the file from this page. E.g. if the file you download from this page is news-article.md then your cover image must be news-article.jpg (capital letters DO matter).

    -

    Any extra images for your article must be in the format: ARTICLE_FILE_NAME--extra-IMAGE_ID.jpg, where you replace ARTICLE_FILE_NAME with the file name you used for the cover image, and IMAGE_ID with the ID you gave the image when you inserted it into your article’s body, as seen above. E.g.: news-article--extra-1.jpg.

    +

    Any extra images for your article must be in the format: ARTICLE_FILE_NAME--extra-IMAGE_ID.jpg, where you replace ARTICLE_FILE_NAME with the file name you used for the cover image, and IMAGE_ID with a unique ID for the image - start at 1 for the first image in your article (excluding the cover image). E.g.: news-article--extra-1.jpg.


    diff --git a/young-reporter/index.md b/young-reporter/index.md index 2cc47a4..5ac4e2c 100644 --- a/young-reporter/index.md +++ b/young-reporter/index.md @@ -53,12 +53,27 @@ Other formatting can be done with the following: * For bold and italics, use `***my bold, italic text***`. * For links, use `[text to show in article](URL)`. * To include an extra image (besides the cover image), use: -
    {% raw %}{% include image.html id=ID_OF_IMAGE caption="IMAGE_CAPTION" copyright="IMAGE_COPYRIGHT" %}{% endraw %}
    -replacing `ID_OF_IMAGE` with a unique ID for the image in your article - start at 1 for the first image (excluding the cover image). +
    +
    +
    {% raw %}{% include image.html caption="IMAGE_CAPTION" copyright="IMAGE_COPYRIGHT" %}{% endraw %}
    +

    Replace `IMAGE_CAPTION` with a caption for the image, and `IMAGE COPYRIGHT` with the copyright owner. E.g.:

    +
    {% raw %}{% include image.html caption="Test image caption" copyright="Reading School" %}{% endraw %}
    +
    +
    + +* To include a video, upload it to YouTube and then use: +
    +
    +
    {% raw %}{% include video.html id="VIDEO_ID" %}{% endraw %}
    +

    Replace `VIDEO_ID` with the YouTube video ID (e.g. for https://www.youtube.com/watch?v=dQw4w9WgXcQ, the video ID is dQw4w9WgXcQ). An example:

    +
    {% raw %}{% include video.html id="dQw4w9WgXcQ" %}{% endraw %}
    +
    +
    + The cover image for your article must be a JPEG image, and have the `jpg` file extension. If your image is a PNG, you can [convert it using an online tool](https://png2jpg.com/). The file name must also be the same as your article's file name. This will be provided to you when you download the file from this page. E.g. if the file you download from this page is `news-article.md` then your cover image must be `news-article.jpg` (capital letters **DO** matter). -Any extra images for your article must be in the format: `ARTICLE_FILE_NAME--extra-IMAGE_ID.jpg`, where you replace `ARTICLE_FILE_NAME` with the file name you used for the cover image, and `IMAGE_ID` with the ID you gave the image when you inserted it into your article's body, as seen above. E.g.: `news-article--extra-1.jpg`. +Any extra images for your article must be in the format: `ARTICLE_FILE_NAME--extra-IMAGE_ID.jpg`, where you replace `ARTICLE_FILE_NAME` with the file name you used for the cover image, and `IMAGE_ID` with a unique ID for the image - start at 1 for the first image in your article (excluding the cover image). E.g.: `news-article--extra-1.jpg`.