-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e62f3df
commit b6bd24f
Showing
16 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+127 KB
portal/src/content/docs/documentation/assets/working-with-articles/article-add.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+954 KB
...tent/docs/documentation/assets/working-with-articles/article-ai-edit-output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+203 KB
...src/content/docs/documentation/assets/working-with-articles/article-ai-edit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+873 KB
...ontent/docs/documentation/assets/working-with-articles/article-ai-generated.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+144 KB
portal/src/content/docs/documentation/assets/working-with-articles/article-ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+468 KB
...docs/documentation/assets/working-with-articles/article-markdown-attributes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+328 KB
...rc/content/docs/documentation/assets/working-with-articles/article-metadata.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+331 KB
...content/docs/documentation/assets/working-with-articles/article-save-revert.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+456 KB
...c/content/docs/documentation/assets/working-with-articles/article-tag-chart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+518 KB
...c/content/docs/documentation/assets/working-with-articles/article-tag-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+76.7 KB
...nt/docs/documentation/assets/working-with-articles/article-tag-map-filename.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+393 KB
...src/content/docs/documentation/assets/working-with-articles/article-tag-map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+65.8 KB
portal/src/content/docs/documentation/assets/working-with-articles/article-tag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+249 KB
...c/content/docs/documentation/assets/working-with-articles/article-undo-redo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+933 KB
portal/src/content/docs/documentation/assets/working-with-articles/article.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 90 additions & 0 deletions
90
portal/src/content/docs/documentation/working-with-articles.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
--- | ||
title: Working With Articles | ||
sidebar: | ||
order: 5 | ||
--- | ||
|
||
This section explains about how to work with articles in the editor using markdown language. The editor offers both editing and previewing features, which enables you to simultaneously edit and view the article. | ||
|
||
## Creating an Article | ||
|
||
If you already have article file, just `Click` on the article file in `File Explorer` on the left side of the editor to open the file in the editable form. You can format the article using markdown supported formatting rules. | ||
|
||
![ARTICLE](./assets/working-with-articles/article.png) | ||
|
||
If you haven't already added the article to the editor, click `ADD` button at the bottom left of the editor as shown below. It will open a file dialog to select the file to upload. | ||
|
||
![ADD ARTICLE](./assets/working-with-articles/article-add.png) | ||
|
||
## Editing Article | ||
|
||
Once you have the file, you can start adding the contents using markdown formatting features. It supports all the formatting elements of the markdown language such as headers, lists, emphasis etc. | ||
|
||
![MARKDOWN ATTRIBUTE](./assets/working-with-articles/article-markdown-attributes.png) | ||
|
||
To learn more about markdown formatting, refer to this [link](https://www.markdownguide.org/basic-syntax/). | ||
|
||
## Including Image | ||
|
||
To include image `image.png` in the article, use `@image` tag. | ||
|
||
![INCLUDE IMAGE](./assets/working-with-articles/article-tag-image.png) | ||
|
||
To include another image `dog.png` simply use `@dog1` tag. The files can be referenced using their unique name displayed in grey color as `@{name}`. | ||
|
||
![INCLUDE DOG IMAGE](./assets/working-with-articles/article-tag.png) | ||
|
||
## Including Chart | ||
|
||
Likewise, if you have a chart and want to include it in the article, you can do so by using `@{name}` tag. Similar to other files, chart is given a unique name, so we can reference them using their name. | ||
|
||
![INCLUDE CHART](./assets/working-with-articles/article-tag-chart.png) | ||
|
||
## Including Map | ||
|
||
Using same tag, you can also include map in the article. To include a map `extinct-dogs.geojson` we use tag | ||
`@extinct_dogs`. | ||
|
||
![INCLUDE MAP](./assets/working-with-articles/article-tag-map.png) | ||
|
||
File name may differ from unique name(identifier), which is displayed in grey color as `@{uniquename}` in the `File Explorer`. | ||
|
||
![UNIQUE FILENAME](./assets/working-with-articles/article-tag-map-filename.png) | ||
|
||
## Editing Metadata | ||
|
||
To edit metadata of the article such as licenses, contributors, sources etc use metadata editor. Click `Metadata` menu on the toolbar to open the editor. To hide the editor, click on the menu again. | ||
|
||
![METADATA EDITOR](./assets/working-with-articles/article-metadata.png) | ||
|
||
## Undo or Redo | ||
|
||
You can undo or redo your last change using `undo` or `redo` feature in the `tools` menu. | ||
|
||
![METADATA EDITOR](./assets/working-with-articles/article-undo-redo.png) | ||
|
||
## Saving or Reverting | ||
|
||
Once you modify the article, you can save the changes using `Save` button. When changes are made, the `Save` and `Revert` button gets activated at the bottom of the editor. If needed, you can revert the changes by clicking the `Revert` button. | ||
|
||
![SAVE AND REVERT](./assets/working-with-articles/article-save-revert.png) | ||
|
||
The changes can be saved in a different file using `Save As` button. | ||
|
||
## Creating / Editing an Article with AI | ||
|
||
To generate data using AI, click `Create` button. A `Create File` dialog box will appear. Navigate to the `Article` tab. | ||
|
||
![ARTICLE AI](./assets/working-with-articles/article-ai.png) | ||
|
||
In `Article` tab, input `filename` and write a data generation command in the `prompt` input box. We use OpenAI's `ChatGPT` large language model API. | ||
|
||
![AI GENERATED](./assets/working-with-articles/article-ai-generated.png) | ||
|
||
Similarly, you can edit a table content by issuing command to AI. To access this window, select `Chat AI` option from the toolbar menu. | ||
|
||
![AI GENERATED](./assets/working-with-articles/article-ai-edit.png) | ||
|
||
Enter your instruction to AI in the promt input box and apply the command by clicking the `EDIT` button. The resulting output is as follows: | ||
|
||
![AI GENERATED](./assets/working-with-articles/article-ai-edit-output.png) |