https://github.com/liatemplates/periodictable
Periodic Table for LiaScript
https://github.com/liatemplates/periodictable
chemistry liascript liascript-template markdown oer open-course
Last synced: about 2 months ago
JSON representation
Periodic Table for LiaScript
- Host: GitHub
- URL: https://github.com/liatemplates/periodictable
- Owner: LiaTemplates
- Created: 2021-02-06T14:29:16.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-06T16:44:15.000Z (about 4 years ago)
- Last Synced: 2025-01-17T12:16:30.870Z (3 months ago)
- Topics: chemistry, liascript, liascript-template, markdown, oer, open-course
- Language: HTML
- Homepage: https://liascript.github.io/course/?https://raw.githubusercontent.com/LiaTemplates/PeriodTable/main/README.md#1
- Size: 85.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Periodic Table Template
A simple template for visualizing an interactive periodic table.
__Try it on LiaScript:__
https://liascript.github.io/course/?https://raw.githubusercontent.com/LiaTemplates/PeriodicTable/main/README.md#1
__See the project on Github:__
https://github.com/LiaTemplates/PeriodicTable
Just include the macro in your `import` statement and call `@PeriodicTable` or `@PeriodicTablewithStyle()`
`import: https://github.com/LiaTemplates/PeriodicTable/blob/main/README.md`
```
@PeriodicTable@PeriodicTable.withStyle("width: 50%; height: 600px;")
```@PeriodicTable
--------
@PeriodicTable.withStyle("width: 50%; height: 600px;")
This LiaScript macro is based on the implementation of [Bowserinator](https://github.com/Bowserinator/Periodic-Table-JSON). The original example can be found at [CodePen](https://codepen.io/aardrian/pen/NmoQdN).