In creating Mol-View-Stories we put together a nice format for coordinating between code editors and molstar displays. In #97 I refactored the editor code so that I could reuse this code as part of mol-view-stories library. I've made some progress on two downstream libraries that I want to share.
Molstar Components
This library intends to provide some convenient web-based components that can be reused. At the moment there is: 1) MolstarViewer which is a reactive component that accepts molviewspec data and will update on change, and 2) EditorWithViewer which is an editor+Viewer component that is built on top of mol-view-stories/StoryManager and will auto update the viewer based on the execution in the editor.
MolViewSpec-Quarto
This packages the EditorWithViewer from above for use in the Markdown-based documentation system. I think this could be useful for writing interactive molviewspec docs.
In creating Mol-View-Stories we put together a nice format for coordinating between code editors and molstar displays. In #97 I refactored the editor code so that I could reuse this code as part of mol-view-stories library. I've made some progress on two downstream libraries that I want to share.
Molstar Components
This library intends to provide some convenient web-based components that can be reused. At the moment there is: 1)
MolstarViewerwhich is a reactive component that accepts molviewspec data and will update on change, and 2)EditorWithViewerwhich is an editor+Viewer component that is built on top of mol-view-stories/StoryManager and will auto update the viewer based on the execution in the editor.MolViewSpec-Quarto
This packages the
EditorWithViewerfrom above for use in the Markdown-based documentation system. I think this could be useful for writing interactive molviewspec docs.