acmucsd / acm-ai-workshops Goto Github PK
View Code? Open in Web Editor NEWRepository of AI resources from workshops hosted by ACM AI at UCSD ๐ง
Home Page: https://wiki.ai.acmucsd.com
Repository of AI resources from workshops hosted by ACM AI at UCSD ๐ง
Home Page: https://wiki.ai.acmucsd.com
(found in #16 ) Regular markdown allows for inline html, which uses strings for passing certain properties (e.g. <font color="red">
, or <span style="color: red">
). However, the website parses html as JSX, which uses a different syntax.
As part of the notebook conversion step, the Markdown AST or HTML AST should probably be traversed to convert "standard" HTML elements to valid JSX, by parsing properties that differ between them e.g. color
, style
, and class
/className
There also appears to be an issue with mdx-bundler being unable to render regular strings with a forward slash in them, such as a url.
Possible fix: mdx
supports "vanilla" markdown parsing (https://github.com/mdx-js/mdx/tree/main/packages/mdx#optionsformat) which hopefully would be able to resolve all of these various issues of markdown incompatibility. However, there are two issues that still stand:
mdx-bundler
can't seem to properly handle the files when setting the markdown format to md
toc
variable in scope to get the toc for each page. however, this will require a significant refactorCurrently, the website is not optimized for a mobile viewing experience - the navbar, sidebar, and table of contents all don't render properly on mobile. Spacing could additionally be adjusted for smaller width devices.
There should be some simple automatic syntax highlighters out there to auto highlight the python code in these jupyter notebooks
For example, at the top of this tutorial on pytorch:
https://pytorch.org/tutorials/intermediate/seq2seq_translation_tutorial.html
which seems automatable.
Currently, notebooks are converted into a long Markdown document, where Jupyter code cells are simply rendered as markdown code blocks. However, this means that if a markdown cell contains a code block, this code block is indistinguishable from a Jupyter code cell. There are several possible approaches to solve this issue:
we could simply indent markdown code blocks by a small amount. this would be the simplest solution.
we could modify the notebook rendering process to factor in the ideas of Jupyter "cells" - this way, we could additionally do things like adding the cell number on the left (idk what it's called, basically the execution order thing tho), or being able to collapse the output as you would in an actual Jupyter notebook.
cc @StoneT2000 what are your thoughts?
Currently, our Jupyter Notebook pages don't render any output. Ideally, we should be able to render at least plaintext output and images (i.e. matplotlib graph)
The pipeline for generating pages from Jupyter notebooks, and being able to extend it to generate pages for e.g. Markdown documents or anything else, is somewhat complex and not fully documented, making it difficult for new contributors to help. Every function should be properly documented, and an ARCHITECTURE.md or other document should be made describing how the codebase works.
E.g. if going to a folder, list all folders and files there etc.
Currently, the website has no code linting or style enforcement - there is a cacophonous mix of semicolons and no semicolons, single and double quotes, random order of css properties, etc. We should add a linting and styling config to standardize this.
could use format [notebook name].metadata.yml
or something.
categories might just use a reserved name (to avoid naming collisions w/ its files), e.g. __category.metadata.yml
or something.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.