{"id":20660971,"url":"https://github.com/liatemplates/kekulejs","last_synced_at":"2026-04-17T14:34:10.111Z","repository":{"id":107259598,"uuid":"261803707","full_name":"LiaTemplates/KekuleJS","owner":"LiaTemplates","description":"Implementation of KekuleJS in LiaScript","archived":false,"fork":false,"pushed_at":"2023-11-03T12:51:59.000Z","size":3835,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-10T04:29:29.684Z","etag":null,"topics":["chemistry","kekule","kekulejs","liascript","liascript-template","oer"],"latest_commit_sha":null,"homepage":"https://liascript.github.io/course/?https://raw.githubusercontent.com/liaTemplates/KekuleJS/master/README.md#1","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LiaTemplates.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-06T15:36:40.000Z","updated_at":"2024-07-04T18:00:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"2848a160-fb4b-46d0-ac93-65ebe969734a","html_url":"https://github.com/LiaTemplates/KekuleJS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LiaTemplates/KekuleJS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiaTemplates%2FKekuleJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiaTemplates%2FKekuleJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiaTemplates%2FKekuleJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiaTemplates%2FKekuleJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LiaTemplates","download_url":"https://codeload.github.com/LiaTemplates/KekuleJS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiaTemplates%2FKekuleJS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31933290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chemistry","kekule","kekulejs","liascript","liascript-template","oer"],"created_at":"2024-11-16T19:06:39.817Z","updated_at":"2026-04-17T14:34:10.096Z","avatar_url":"https://github.com/LiaTemplates.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\r\nauthor:   Yannik Höll\r\n\r\nemail:    labruzzler@gmail.com\r\n\r\nversion:  0.0.2\r\n\r\nlanguage: en\r\n\r\nnarrator: US English Female\r\n\r\nscript: http://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js\r\n        https://cdn.jsdelivr.net/gh/LiaTemplates/KekuleJS/kekule/three.js\r\n        https://cdn.jsdelivr.net/gh/LiaTemplates/KekuleJS/kekule/kekule.min.js\r\n\r\nlink:   https://cdn.jsdelivr.net/gh/LiaTemplates/KekuleJS/kekule/themes/default/kekule.css\r\n\r\n\r\n\r\n@Kekule.molecule2d: @Kekule._load2d(@uid,cml,@0)\r\n\r\n@Kekule.load2d: @Kekule._load2d(@uid,@0,@1)\r\n\r\n@Kekule.eval2d: @Kekule._load2d(@uid,@0,`@input`)\r\n\r\n@Kekule._load2d\r\n\u003cscript\u003e\r\nlet rem = document.getElementsByClassName(\"deleteme\")\r\n\r\nfor( let i=0; i\u003c rem.length; i++ )\r\n  rem[i].innerHTML = \"\"\r\n\r\nconst div = document.getElementById(\"molecule_parent1_@0\");\r\n\r\nconst rawData = `@2`;\r\nconst mol = Kekule.IO.loadFormatData(rawData, '@1');\r\nvar viewer = new Kekule.ChemWidget.Viewer2D(document, mol);\r\n\r\nviewer.removeClassName(Kekule.Widget.HtmlClassNames.NORMAL_BACKGROUND);\r\n\r\ndiv.appendChild(viewer.getElement());\r\n\r\n\"LIA: stop\"\r\n\u003c/script\u003e\r\n\r\n\u003cdiv style=\"text-align: center\" id=\"molecule_parent1_@0\" class=\"deleteme\"\u003e\u003c/div\u003e\r\n@end\r\n\r\n\r\n@Kekule.molecule3d: @Kekule._load3d(@uid,cml,@0)\r\n\r\n@Kekule.eval3d: @Kekule._load3d(@uid,@0,`@input`)\r\n\r\n@Kekule.load3d: @Kekule._load3d(@uid,@0,@1)\r\n\r\n@Kekule._load3d\r\n\u003cscript\u003e\r\nlet rem = document.getElementsByClassName(\"deleteme\")\r\n\r\nfor( let i=0; i\u003c rem.length; i++ )\r\n  rem[i].innerHTML = \"\";\r\n\r\nconst div = document.getElementById(\"molecule_parent2_@0\");\r\n\r\nconst rawData = `@2`;\r\nlet mol = Kekule.IO.loadFormatData(rawData, '@1');\r\n\r\nvar viewer = new Kekule.ChemWidget.Viewer(div);\r\n\r\nviewer.setChemObj(mol);\r\nviewer.setZoom(1.5);\r\n\r\nviewer.setRenderType(Kekule.Render.RendererType.R3D);\r\nviewer.setAutofit(true);\r\nviewer.setEnableToolbar(true);\r\n\r\n\"LIA: stop\"\r\n\u003c/script\u003e\r\n\r\n\u003cdiv data-widget=\"Kekule.ChemWidget.Viewer\" style=\"width: 100%; height: 550px;\" id=\"molecule_parent2_@0\" class=\"deleteme\"\u003e\u003c/div\u003e\r\n@end\r\n\r\n@Kekule.periodicTable: @_periodicTable_(@0, @uid)\r\n\r\n@_periodicTable_\r\n\u003cdiv style=\"text-align: center\" id=\"periodic_table_@1\" class=\"deleteme\"\u003e\u003c/div\u003e\r\n\r\n\u003cscript\u003e\r\n\r\nlet rem = document.getElementsByClassName(\"deleteme\")\r\n\r\nfor( let i=0; i\u003c rem.length; i++ )\r\n  rem[i].innerHTML = \"\";\r\n\r\nconst div = document.getElementById(\"periodic_table_@1\");\r\n\r\nconst periodic_table = new Kekule.ChemWidget.PeriodicTable(document);\r\n\r\nif(\"@0\" !== \"large\")\r\n  periodic_table.useMiniMode = true;\r\nelse\r\n  periodic_table.useMiniMode = false;\r\n\r\nperiodic_table.setEnableSelect(true)\r\n  .setDisplayedComponents(['symbol', 'name', 'atomicNumber'])\r\n  .appendToElem(div);\r\n\r\nconsole.log(\"plotting: \", `@0`)\r\n\u003c/script\u003e\r\n@end\r\n\r\n\r\n@Kekule.load: @Kekule.load_(@uid,@0)\r\n\r\n@Kekule.load_\r\n\u003cdiv id=\"structureContainer_@0\"\u003e\u003c/div\u003e\r\n\r\n\u003cscript\u003e\r\n// Load the XYZ file from a URL\r\nKekule.IO.loadUrlData('@1', (mol, success) =\u003e {\r\nif (!success) {\r\n  document.getElementById(\"structureContainer_@0\").innerHTML = 'Failed to load @1';\r\n  return;\r\n}\r\n\r\nvar viewer = new Kekule.ChemWidget.Viewer(document);\r\nviewer.setDimension('100%', '60vh');\r\nviewer.appendToElem(document.getElementById('structureContainer_@0')).setChemObj(mol);  \r\nviewer.setAutofit(true);\r\nviewer.setEnableToolbar(true);\r\nviewer.setRenderType(Kekule.Render.RendererType.R3D);\r\n});\r\n\r\nconsole.log(\"loading file\", Kekule)\r\n\r\n\u003c/script\u003e\r\n\r\n@end\r\n\r\n--\u003e\r\n\r\n# Kekelu JS\r\n\r\nImplementation of the the JS library KekuleJS which provides tool for rendering\r\nmolecules and much more chemical notation.\r\n\r\n[KekuleJS Source](https://github.com/partridgejiang/Kekule.js/tree/master) \u003cbr\u003e\r\n[LiaScript Page](https://liascript.github.io/course/?https://raw.githubusercontent.com/liaTemplates/KekuleJS/master/README.md#1)\r\n\r\n# `@Kekule.molecule2d`\r\n\r\nPut the cml representation of the molecule you want to render into markdown\r\nquotes and put the macro `@Kekule.molecule2d` on the first line of the markdown\r\nblock.\r\n\r\n\u003cp style=\"color: red\"\u003eYou have to be carful that your cml code does not contain any\r\n`@`-Symbols or the macro will not work. (Sometimes these symbols are in the meta info.)\u003c/p\u003e\r\n\r\n``` xml\r\n\u003ccml xmlns=\"http://www.xml-cml.org/schema\"\u003e\r\n  \u003cmolecule\u003e\r\n    \u003catomArray\u003e\r\n      \u003catom id=\"a1588768090561\" elementType=\"C\" x2=\"0.4125\" y2=\"0.6348\"/\u003e\r\n      \u003catom id=\"a1588768090562\" elementType=\"C\" x2=\"-0.4125\" y2=\"0.6348\"/\u003e\r\n      \u003catom id=\"a1588768090563\" elementType=\"C\" x2=\"-0.6674\" y2=\"-0.1498\"/\u003e\r\n      \u003catom id=\"a1588768090564\" elementType=\"N\" x2=\"0\" y2=\"-0.6348\"/\u003e\r\n      \u003catom id=\"a1588768090565\" elementType=\"C\" x2=\"0.6674\" y2=\"-0.1498\"/\u003e\r\n    \u003c/atomArray\u003e\r\n    \u003cbondArray\u003e\r\n      \u003cbond id=\"b1588768090566\" order=\"S\" atomRefs2=\"a1588768090561 a1588768090562\"/\u003e\r\n      \u003cbond id=\"b1588768090567\" order=\"D\" atomRefs2=\"a1588768090562 a1588768090563\"/\u003e\r\n      \u003cbond id=\"b1588768090568\" order=\"S\" atomRefs2=\"a1588768090563 a1588768090564\"/\u003e\r\n      \u003cbond id=\"b1588768090569\" order=\"S\" atomRefs2=\"a1588768090564 a1588768090565\"/\u003e\r\n      \u003cbond id=\"b1588768090570\" order=\"D\" atomRefs2=\"a1588768090565 a1588768090561\"/\u003e\r\n    \u003c/bondArray\u003e\r\n  \u003c/molecule\u003e\r\n\u003c/cml\u003e\r\n```\r\n\r\nThe code above gets interpreted as this molecule:\r\n\r\n``` xml @Kekule.molecule2d\r\n\u003ccml xmlns=\"http://www.xml-cml.org/schema\"\u003e\r\n  \u003cmolecule\u003e\r\n    \u003catomArray\u003e\r\n      \u003catom id=\"a1588768090561\" elementType=\"C\" x2=\"0.4125\" y2=\"0.6348\"/\u003e\r\n      \u003catom id=\"a1588768090562\" elementType=\"C\" x2=\"-0.4125\" y2=\"0.6348\"/\u003e\r\n      \u003catom id=\"a1588768090563\" elementType=\"C\" x2=\"-0.6674\" y2=\"-0.1498\"/\u003e\r\n      \u003catom id=\"a1588768090564\" elementType=\"N\" x2=\"0\" y2=\"-0.6348\"/\u003e\r\n      \u003catom id=\"a1588768090565\" elementType=\"C\" x2=\"0.6674\" y2=\"-0.1498\"/\u003e\r\n    \u003c/atomArray\u003e\r\n    \u003cbondArray\u003e\r\n      \u003cbond id=\"b1588768090566\" order=\"S\" atomRefs2=\"a1588768090561 a1588768090562\"/\u003e\r\n      \u003cbond id=\"b1588768090567\" order=\"D\" atomRefs2=\"a1588768090562 a1588768090563\"/\u003e\r\n      \u003cbond id=\"b1588768090568\" order=\"S\" atomRefs2=\"a1588768090563 a1588768090564\"/\u003e\r\n      \u003cbond id=\"b1588768090569\" order=\"S\" atomRefs2=\"a1588768090564 a1588768090565\"/\u003e\r\n      \u003cbond id=\"b1588768090570\" order=\"D\" atomRefs2=\"a1588768090565 a1588768090561\"/\u003e\r\n    \u003c/bondArray\u003e\r\n  \u003c/molecule\u003e\r\n\u003c/cml\u003e\r\n```\r\n\r\n# `@Kekule.molecule3d`\r\n\r\nPut the cml representation of the molecule you want to render into markdown\r\nquotes and put the macro `@Kekule.molecule3d` on the first line of the markdown\r\nblock.\r\n\r\n\u003cp style=\"color: red\"\u003eYou have to be carful that your cml code does not contain any\r\n`@`-Symbols or the macro will not work. (Sometimes these symbols are in the meta info.)\u003c/p\u003e\r\n\r\n``` xml\r\n\u003ccml xmlns=\"http://www.xml-cml.org/schema\"\u003e\r\n  \u003cmolecule id=\"m1\"\u003e\r\n    \u003catomArray\u003e\r\n      \u003catom id=\"a4\" elementType=\"C\" x2=\"13.1708\" y2=\"37.8126\"/\u003e\r\n      \u003catom id=\"a11\" elementType=\"N\" x2=\"12.3867\" y2=\"37.557500000000005\"/\u003e\r\n      \u003catom id=\"a5\" elementType=\"C\" x2=\"13.1708\" y2=\"38.637600000000006\"/\u003e\r\n      \u003catom id=\"a3\" elementType=\"N\" x2=\"13.8865\" y2=\"37.3986\"/\u003e\r\n      \u003catom id=\"a14\" elementType=\"C\" x2=\"12.3867\" y2=\"35.91630000000001\"/\u003e\r\n      \u003catom id=\"a7\" elementType=\"C\" x2=\"11.9012\" y2=\"38.225\"/\u003e\r\n      \u003catom id=\"a6\" elementType=\"C\" x2=\"13.8865\" y2=\"39.050000000000004\"/\u003e\r\n      \u003catom id=\"a8\" elementType=\"N\" x2=\"12.3867\" y2=\"38.8926\"/\u003e\r\n      \u003catom id=\"a2\" elementType=\"C\" x2=\"14.6007\" y2=\"37.8126\"/\u003e\r\n      \u003catom id=\"a15\" elementType=\"O\" x2=\"11.270199999999999\" y2=\"36.330200000000005\"/\u003e\r\n      \u003catom id=\"a13\" elementType=\"C\" x2=\"11.9655\" y2=\"35.432300000000005\"/\u003e\r\n      \u003catom id=\"a21\" elementType=\"H\" x2=\"12.3867\" y2=\"35.2079\"/\u003e\r\n      \u003catom id=\"a1\" elementType=\"N\" x2=\"14.6007\" y2=\"38.637600000000006\"/\u003e\r\n      \u003catom id=\"a9\" elementType=\"O\" x2=\"13.8865\" y2=\"39.875\"/\u003e\r\n      \u003catom id=\"a10\" elementType=\"N\" x2=\"15.3178\" y2=\"37.3986\"/\u003e\r\n      \u003catom id=\"a16\" elementType=\"C\" x2=\"10.1478\" y2=\"35.91630000000001\"/\u003e\r\n      \u003catom id=\"a12\" elementType=\"C\" x2=\"10.5778\" y2=\"35.432300000000005\"/\u003e\r\n      \u003catom id=\"a19\" elementType=\"H\" x2=\"11.9655\" y2=\"35.858000000000004\"/\u003e\r\n      \u003catom id=\"a17\" elementType=\"H\" x2=\"11.9655\" y2=\"34.88720000000001\"/\u003e\r\n      \u003catom id=\"a22\" elementType=\"C\" x2=\"10.1478\" y2=\"36.578\"/\u003e\r\n      \u003catom id=\"a23\" elementType=\"H\" x2=\"10.1478\" y2=\"35.2079\"/\u003e\r\n      \u003catom id=\"a18\" elementType=\"O\" x2=\"10.5778\" y2=\"34.88720000000001\"/\u003e\r\n      \u003catom id=\"a20\" elementType=\"H\" x2=\"10.5778\" y2=\"35.858000000000004\"/\u003e\r\n      \u003catom id=\"a24\" elementType=\"O\" x2=\"9.4322\" y2=\"36.9919\"/\u003e\r\n    \u003c/atomArray\u003e\r\n    \u003cbondArray\u003e\r\n      \u003cbond id=\"b25\" order=\"S\" atomRefs2=\"a4 a11\"/\u003e\r\n      \u003cbond id=\"b4\" order=\"D\" atomRefs2=\"a4 a5\"/\u003e\r\n      \u003cbond id=\"b3\" order=\"S\" atomRefs2=\"a4 a3\"/\u003e\r\n      \u003cbond id=\"b23\" order=\"S\" atomRefs2=\"a11 a14\"/\u003e\r\n      \u003cbond id=\"b26\" order=\"S\" atomRefs2=\"a11 a7\"/\u003e\r\n      \u003cbond id=\"b5\" order=\"S\" atomRefs2=\"a5 a6\"/\u003e\r\n      \u003cbond id=\"b8\" order=\"S\" atomRefs2=\"a5 a8\"/\u003e\r\n      \u003cbond id=\"b2\" order=\"D\" atomRefs2=\"a3 a2\"/\u003e\r\n      \u003cbond id=\"b13\" order=\"S\" atomRefs2=\"a14 a15\"/\u003e\r\n      \u003cbond id=\"b12\" order=\"S\" atomRefs2=\"a14 a13\"/\u003e\r\n      \u003cbond id=\"b20\" order=\"S\" atomRefs2=\"a14 a21\"/\u003e\r\n      \u003cbond id=\"b7\" order=\"D\" atomRefs2=\"a7 a8\"/\u003e\r\n      \u003cbond id=\"b6\" order=\"S\" atomRefs2=\"a6 a1\"/\u003e\r\n      \u003cbond id=\"b9\" order=\"D\" atomRefs2=\"a6 a9\"/\u003e\r\n      \u003cbond id=\"b1\" order=\"S\" atomRefs2=\"a2 a1\"/\u003e\r\n      \u003cbond id=\"b10\" order=\"S\" atomRefs2=\"a2 a10\"/\u003e\r\n      \u003cbond id=\"b14\" order=\"S\" atomRefs2=\"a15 a16\"/\u003e\r\n      \u003cbond id=\"b11\" order=\"S\" atomRefs2=\"a13 a12\"/\u003e\r\n      \u003cbond id=\"b18\" order=\"S\" atomRefs2=\"a13 a19\"/\u003e\r\n      \u003cbond id=\"b16\" order=\"S\" atomRefs2=\"a13 a17\"/\u003e\r\n      \u003cbond id=\"b15\" order=\"S\" atomRefs2=\"a16 a12\"/\u003e\r\n      \u003cbond id=\"b21\" order=\"S\" atomRefs2=\"a16 a22\"/\u003e\r\n      \u003cbond id=\"b22\" order=\"S\" atomRefs2=\"a16 a23\"/\u003e\r\n      \u003cbond id=\"b17\" order=\"S\" atomRefs2=\"a12 a18\"/\u003e\r\n      \u003cbond id=\"b19\" order=\"S\" atomRefs2=\"a12 a20\"/\u003e\r\n      \u003cbond id=\"b24\" order=\"S\" atomRefs2=\"a22 a24\"/\u003e\r\n    \u003c/bondArray\u003e\r\n  \u003c/molecule\u003e\r\n\u003c/cml\u003e\r\n```\r\n\r\nThe code above gets interpreted as this molecule:\r\n\r\n``` @Kekule.molecule3d\r\n\u003ccml xmlns=\"http://www.xml-cml.org/schema\"\u003e\r\n  \u003cmolecule id=\"m1\"\u003e\r\n    \u003catomArray\u003e\r\n      \u003catom id=\"a4\" elementType=\"C\" x2=\"13.1708\" y2=\"37.8126\"/\u003e\r\n      \u003catom id=\"a11\" elementType=\"N\" x2=\"12.3867\" y2=\"37.557500000000005\"/\u003e\r\n      \u003catom id=\"a5\" elementType=\"C\" x2=\"13.1708\" y2=\"38.637600000000006\"/\u003e\r\n      \u003catom id=\"a3\" elementType=\"N\" x2=\"13.8865\" y2=\"37.3986\"/\u003e\r\n      \u003catom id=\"a14\" elementType=\"C\" x2=\"12.3867\" y2=\"35.91630000000001\"/\u003e\r\n      \u003catom id=\"a7\" elementType=\"C\" x2=\"11.9012\" y2=\"38.225\"/\u003e\r\n      \u003catom id=\"a6\" elementType=\"C\" x2=\"13.8865\" y2=\"39.050000000000004\"/\u003e\r\n      \u003catom id=\"a8\" elementType=\"N\" x2=\"12.3867\" y2=\"38.8926\"/\u003e\r\n      \u003catom id=\"a2\" elementType=\"C\" x2=\"14.6007\" y2=\"37.8126\"/\u003e\r\n      \u003catom id=\"a15\" elementType=\"O\" x2=\"11.270199999999999\" y2=\"36.330200000000005\"/\u003e\r\n      \u003catom id=\"a13\" elementType=\"C\" x2=\"11.9655\" y2=\"35.432300000000005\"/\u003e\r\n      \u003catom id=\"a21\" elementType=\"H\" x2=\"12.3867\" y2=\"35.2079\"/\u003e\r\n      \u003catom id=\"a1\" elementType=\"N\" x2=\"14.6007\" y2=\"38.637600000000006\"/\u003e\r\n      \u003catom id=\"a9\" elementType=\"O\" x2=\"13.8865\" y2=\"39.875\"/\u003e\r\n      \u003catom id=\"a10\" elementType=\"N\" x2=\"15.3178\" y2=\"37.3986\"/\u003e\r\n      \u003catom id=\"a16\" elementType=\"C\" x2=\"10.1478\" y2=\"35.91630000000001\"/\u003e\r\n      \u003catom id=\"a12\" elementType=\"C\" x2=\"10.5778\" y2=\"35.432300000000005\"/\u003e\r\n      \u003catom id=\"a19\" elementType=\"H\" x2=\"11.9655\" y2=\"35.858000000000004\"/\u003e\r\n      \u003catom id=\"a17\" elementType=\"H\" x2=\"11.9655\" y2=\"34.88720000000001\"/\u003e\r\n      \u003catom id=\"a22\" elementType=\"C\" x2=\"10.1478\" y2=\"36.578\"/\u003e\r\n      \u003catom id=\"a23\" elementType=\"H\" x2=\"10.1478\" y2=\"35.2079\"/\u003e\r\n      \u003catom id=\"a18\" elementType=\"O\" x2=\"10.5778\" y2=\"34.88720000000001\"/\u003e\r\n      \u003catom id=\"a20\" elementType=\"H\" x2=\"10.5778\" y2=\"35.858000000000004\"/\u003e\r\n      \u003catom id=\"a24\" elementType=\"O\" x2=\"9.4322\" y2=\"36.9919\"/\u003e\r\n    \u003c/atomArray\u003e\r\n    \u003cbondArray\u003e\r\n      \u003cbond id=\"b25\" order=\"S\" atomRefs2=\"a4 a11\"/\u003e\r\n      \u003cbond id=\"b4\" order=\"D\" atomRefs2=\"a4 a5\"/\u003e\r\n      \u003cbond id=\"b3\" order=\"S\" atomRefs2=\"a4 a3\"/\u003e\r\n      \u003cbond id=\"b23\" order=\"S\" atomRefs2=\"a11 a14\"/\u003e\r\n      \u003cbond id=\"b26\" order=\"S\" atomRefs2=\"a11 a7\"/\u003e\r\n      \u003cbond id=\"b5\" order=\"S\" atomRefs2=\"a5 a6\"/\u003e\r\n      \u003cbond id=\"b8\" order=\"S\" atomRefs2=\"a5 a8\"/\u003e\r\n      \u003cbond id=\"b2\" order=\"D\" atomRefs2=\"a3 a2\"/\u003e\r\n      \u003cbond id=\"b13\" order=\"S\" atomRefs2=\"a14 a15\"/\u003e\r\n      \u003cbond id=\"b12\" order=\"S\" atomRefs2=\"a14 a13\"/\u003e\r\n      \u003cbond id=\"b20\" order=\"S\" atomRefs2=\"a14 a21\"/\u003e\r\n      \u003cbond id=\"b7\" order=\"D\" atomRefs2=\"a7 a8\"/\u003e\r\n      \u003cbond id=\"b6\" order=\"S\" atomRefs2=\"a6 a1\"/\u003e\r\n      \u003cbond id=\"b9\" order=\"D\" atomRefs2=\"a6 a9\"/\u003e\r\n      \u003cbond id=\"b1\" order=\"S\" atomRefs2=\"a2 a1\"/\u003e\r\n      \u003cbond id=\"b10\" order=\"S\" atomRefs2=\"a2 a10\"/\u003e\r\n      \u003cbond id=\"b14\" order=\"S\" atomRefs2=\"a15 a16\"/\u003e\r\n      \u003cbond id=\"b11\" order=\"S\" atomRefs2=\"a13 a12\"/\u003e\r\n      \u003cbond id=\"b18\" order=\"S\" atomRefs2=\"a13 a19\"/\u003e\r\n      \u003cbond id=\"b16\" order=\"S\" atomRefs2=\"a13 a17\"/\u003e\r\n      \u003cbond id=\"b15\" order=\"S\" atomRefs2=\"a16 a12\"/\u003e\r\n      \u003cbond id=\"b21\" order=\"S\" atomRefs2=\"a16 a22\"/\u003e\r\n      \u003cbond id=\"b22\" order=\"S\" atomRefs2=\"a16 a23\"/\u003e\r\n      \u003cbond id=\"b17\" order=\"S\" atomRefs2=\"a12 a18\"/\u003e\r\n      \u003cbond id=\"b19\" order=\"S\" atomRefs2=\"a12 a20\"/\u003e\r\n      \u003cbond id=\"b24\" order=\"S\" atomRefs2=\"a22 a24\"/\u003e\r\n    \u003c/bondArray\u003e\r\n  \u003c/molecule\u003e\r\n\u003c/cml\u003e\r\n```\r\n\r\n# `@Kekule.periodicTable`\r\nThis macro adds a periodic table to the current liaScript page.\r\n\r\nThe first argument of the macro can be used for making the table large.\r\nSimply type large into the brackets after the macro.\r\nIt is not recommended to put more than one table on the same page.\r\n\r\n## `@Kekule.periodicTable - small`\r\n\r\n@Kekule.periodicTable\r\n\r\n## `@Kekule.periodicTable(large) - large`\r\n\r\n@Kekule.periodicTable(large)\r\n\r\n## Loading Files with `@Kekule.load`\r\n\r\nLiaScript has a special syntax for urls, if you want to pass a URL that should be also a link in ordinary Markdown, simply add an `@` in front of the link:\r\n\r\n`@[Kekule.load](/data/example.mol)`\r\n\r\n---\r\n\r\n@[Kekule.load](data/example.mol)\r\n\r\n\r\n## Loading Files with `@Kekule.load3d`\r\n\r\n``` text @Kekule.load3d(mol)\r\nPicture 1                                                                       \r\n  PPPPPPPP          3D                              \r\n\r\n  6 12  0  0  0  0  0  0  0  0  0     \r\n    0.0000    1.8079    1.8079 Cu  0  0  0  1\r\n    3.6157    1.8079    1.8079 Cu  0  0  0  1\r\n    1.8079    0.0000    1.8079 Cu  0  0  0  1\r\n    1.8079    3.6157    1.8079 Cu  0  0  0  1\r\n    1.8079    1.8079    0.0000 Cu  0  0  0  1\r\n    1.8079    1.8079    3.6157 Cu  0  0  0  1\r\n  1  3  1  0  0  0  0\r\n  1  4  1  0  0  0  0\r\n  1  5  1  0  0  0  0\r\n  1  6  1  0  0  0  0\r\n  2  3  1  0  0  0  0\r\n  2  4  1  0  0  0  0\r\n  2  5  1  0  0  0  0\r\n  2  6  1  0  0  0  0\r\n  3  5  1  0  0  0  0\r\n  3  6  1  0  0  0  0\r\n  4  5  1  0  0  0  0\r\n  4  6  1  0  0  0  0\r\nM  END\r\n```\r\n\r\n``` text\r\nPicture 1                                                                       \r\n  PPPPPPPP          3D                              \r\n\r\n  6 12  0  0  0  0  0  0  0  0  0     \r\n    0.0000    1.8079    1.8079 Cu  0  0  0  1\r\n    3.6157    1.8079    1.8079 Cu  0  0  0  1\r\n    1.8079    0.0000    1.8079 Cu  0  0  0  1\r\n    1.8079    3.6157    1.8079 Cu  0  0  0  1\r\n    1.8079    1.8079    0.0000 Cu  0  0  0  1\r\n    1.8079    1.8079    3.6157 Cu  0  0  0  1\r\n  1  3  1  0  0  0  0\r\n  1  4  1  0  0  0  0\r\n  1  5  1  0  0  0  0\r\n  1  6  1  0  0  0  0\r\n  2  3  1  0  0  0  0\r\n  2  4  1  0  0  0  0\r\n  2  5  1  0  0  0  0\r\n  2  6  1  0  0  0  0\r\n  3  5  1  0  0  0  0\r\n  3  6  1  0  0  0  0\r\n  4  5  1  0  0  0  0\r\n  4  6  1  0  0  0  0\r\nM  END\r\n```\r\n@Kekule.eval3d(mol)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliatemplates%2Fkekulejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliatemplates%2Fkekulejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliatemplates%2Fkekulejs/lists"}