mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-02 02:54:33 +12:00
Created How to Add Images to a Project (markdown)
parent
b453087cd5
commit
02f0773bbb
63
How-to-Add-Images-to-a-Project.md
Normal file
63
How-to-Add-Images-to-a-Project.md
Normal file
|
@ -0,0 +1,63 @@
|
|||
## How to Add Images to Manuskript Project
|
||||
|
||||
To reference images with current versions of Manuskript be sure to store the images outside of the project file(s) and directories.
|
||||
|
||||
One option is to store the images in a directory at the same level as the `project.msk` file. For example:
|
||||
|
||||
- Create an `images` folder at the same directory level as the `project.msk` file
|
||||
- To reference an image use: `![My Image One Title](images/myimage1.jpg)`
|
||||
|
||||
|
||||
With setting "_Save to one single file_" enabled this looks like:
|
||||
|
||||
```
|
||||
.
|
||||
|
|
||||
+-- images --+-- myimage1.jpg
|
||||
| |
|
||||
| +-- ...
|
||||
|
|
||||
+-- myproject.msk
|
||||
```
|
||||
|
||||
With setting "_Save to one single file_" disabled this looks like:
|
||||
|
||||
```
|
||||
.
|
||||
|
|
||||
+-- images --+-- myimage1.jpg
|
||||
| |
|
||||
| +-- ...
|
||||
|
|
||||
+-- myproject --+-- infos.txt
|
||||
| |
|
||||
| +-- labels.txt
|
||||
| |
|
||||
| +-- ...
|
||||
| |
|
||||
| +-- outline --+-- ...
|
||||
| | |
|
||||
| | +-- ...
|
||||
| |
|
||||
| +-- ...
|
||||
| |
|
||||
| +-- world.opml
|
||||
|
|
||||
+-- myproject.msk
|
||||
|
||||
```
|
||||
|
||||
|
||||
If the project was intended to be published on the web then you might compile/export the project as HTML and then place the `project.html` and `images` folder at the same location on the web server.
|
||||
|
||||
On a web server this might look like:
|
||||
|
||||
```
|
||||
.
|
||||
|
|
||||
+-- images --+-- myimage1.jpg
|
||||
| |
|
||||
| +-- ...
|
||||
|
|
||||
+-- myproject.html
|
||||
```
|
Loading…
Reference in a new issue