diff --git a/Projects/Superalgos/Schemas/Docs-Topics/docs-paragraph-styles-018-docs-gif-style.json b/Projects/Superalgos/Schemas/Docs-Topics/docs-paragraph-styles-018-docs-gif-style.json new file mode 100644 index 000000000..56a4fe0f7 --- /dev/null +++ b/Projects/Superalgos/Schemas/Docs-Topics/docs-paragraph-styles-018-docs-gif-style.json @@ -0,0 +1,36 @@ +{ + "topic": "Docs Paragraph Styles", + "pageNumber": "18", + "type": "Docs Gif Style", + "definition": "It is possible to embed gifs at a Docs page. ", + "paragraphs": [ + { + "style": "Text", + "text": "The gif to be embedded need to be present at the project's GIFs/Docs folder. The syntax to do it is the following:" + }, + { + "style": "Json", + "text": "GIFs/Project-Folder/Docs/Inner-Folder/File-Name.gif" + }, + { + "style": "Title", + "text": "Example:" + }, + { + "style": "Json", + "text": "GIFs/Superalgos/Docs/design-space/workspace-01.gif" + }, + { + "style": "Text", + "text": "Looks like this:" + }, + { + "style": "Gif", + "text": "GIFs/Superalgos/Docs/design-space/workspace-01.gif" + }, + { + "style": "Text", + "text": "" + } + ] +} \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Topics/docs-paragraph-styles-019-docs-png-style.json b/Projects/Superalgos/Schemas/Docs-Topics/docs-paragraph-styles-019-docs-png-style.json new file mode 100644 index 000000000..f1e1240e1 --- /dev/null +++ b/Projects/Superalgos/Schemas/Docs-Topics/docs-paragraph-styles-019-docs-png-style.json @@ -0,0 +1,36 @@ +{ + "topic": "Docs Paragraph Styles", + "pageNumber": "19", + "type": "Docs Png Style", + "definition": "It is possible to embed PNGs images into a Docs page.", + "paragraphs": [ + { + "style": "Text", + "text": "To embed a PNG image into a Docs page you need to follow this syntax:" + }, + { + "style": "Json", + "text": "PNGs/Project-Folder/Docs/Inner-Folder/File-Name.png" + }, + { + "style": "Title", + "text": "Example:" + }, + { + "style": "Javascript", + "text": "PNGs/Superalgos/Docs/troubleshooting/RSI-07.png" + }, + { + "style": "Text", + "text": "Looks like this:" + }, + { + "style": "Png", + "text": "PNGs/Superalgos/Docs/troubleshooting/frames-per-second-tool.png" + }, + { + "style": "Text", + "text": "" + } + ] +} \ No newline at end of file diff --git a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js index b680a071b..8300f76e8 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js @@ -2965,8 +2965,6 @@ function newSuperalgosDocSpace() { role = '' key = key + '-gif' innerHTML = parseGIF(paragraph.text) - innerHTML = addItalics(innerHTML) - innerHTML = addToolTips(innerHTML) break } case 'Png': { @@ -2976,8 +2974,6 @@ function newSuperalgosDocSpace() { role = '' key = key + '-png' innerHTML = parsePNG(paragraph.text) - innerHTML = addItalics(innerHTML) - innerHTML = addToolTips(innerHTML) break } case 'Javascript': {