Comments (4)
Thanks for pointing that out. As an experiment I've been thinking of creating a web component that renders markdown on the client side, which I think could improve #591.
So first I want to try it as a web component to see if it works. And if it does work, I think we could update the core markdown component to also render markdown on the front end.
So it's possible using the markdown web component could render the markdown better.
On the other hand, it is strange that the markdown is not being rendered correctly for you, especially a simple thing like nested lists. I'll see if I can reproduce it.
Do you have an example output for testing?
from mesop.
Yeah I can confirm that the sub list is not working. This can be seen also in the demo gallary for the markdown example. The sublist is not indented.
It looks like a rendering issue since it gets rendered a one level list and not nested.
from mesop.
So looks like the reason is the markdown module we're using requires four space indention. See Python-Markdown/markdown#1378
This is expected behavior for this module.
I'd agree that this isn't ideal. As a workaround is it possible to tell the agent to render the sublist with four spaces?
from mesop.
I'd agree that this isn't ideal. As a workaround is it possible to tell the agent to render the sublist with four spaces?
In my case, I asked my agent to generate a markdown
so I can put it in Github issue... and let him do the job.
from mesop.
Related Issues (20)
- Mesop doesn't support async HOT 2
- Provide a better error message for unhandled state serialization
- Allow Flask Configuration HOT 2
- Add Autocomplete Component from Angular Components
- Not able to iframe a localhost site from a localhost site (or http site)
- Add the CSS `place-items` property in the `me.Style` object
- FileNotFoundError gpc.json HOT 7
- Weird error message when trying to create webcomponent for Mesop HOT 1
- Create a comparison guide with Streamlit / Gradio / Reflex
- How to pronounce "Mesop"? HOT 1
- Prevent accidental usage of mutable classes in @me.stateclass
- Add Tab Component HOT 1
- Create a concurrency test to ensure session isolation
- Style.__init__() got an unexpected keyword argument min_height HOT 4
- Nested lists of lists of Dataclasses does not de-serializing correctly in state
- Support theming to different colors
- Make UploadedFile json serializable HOT 1
- :bar_chart: Preview `mermaid` charts :mermaid: HOT 4
- Using web components in a Mesop app requires a lot of repeated configuration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mesop.