Comments (4)
Oh, the sql part is also not right... there should no sql
before SELECT
SELECT
date(date) as day,
count(*) as count
FROM offers_view
GROUP BY day
ORDER BY day
from datasette-dashboards.
Thanks @HaveF for catching and reporting this issue!
But when display in dashboars, there is no * before list items
Indeed, there seem to be an issue with the Markdown rendering. I'll look for the culprit and see if I can fix it.
Oh, the sql part is also not right... there should no sql before SELECT
Mmmh interesting, this means the Markdown rendering does not support properly code blocks with language syntax highlighting (it could be rendered all monospace black but still skip the language information)
from datasette-dashboards.
Ok I found out some interesting styling implementation details.
Here is the default style concerning ordered and unordered list in Datasette:
ol,
ul {
list-style: none;
}
However, this is overriden by this style when displaying query results:
.rows-and-columns td ol,
.rows-and-columns td ul {
list-style: initial;
list-style-position: inside;
}
We might have to override this using the Datasette Dashboard stylesheet to restore bullet and numbered list only for the Markdown chart component.
from datasette-dashboards.
Could it possible add class (It's a generated class name)col-demo_markdown
?
I notice you use render_markdown
function, but why it not works...
How about {% markdown %}...{% endmarkdown %}
?
from datasette-dashboards.
Related Issues (20)
- Dynamic values for select filter type HOT 1
- Add support for Vega charts HOT 8
- Allow embedding dashboards and charts HOT 2
- Add table chart component HOT 1
- Improve filters layout HOT 2
- Allow dashboards to enter fullscreen HOT 2
- Allow dashboards to auto-refresh HOT 2
- Fix menu not showing in plugin pages
- README screenshot is out-of-date HOT 4
- Vega charts using random generation are not deterministic
- Vega-Lite chart tooltip style is broken HOT 2
- Vega Editor data URL is not absolute HOT 1
- best practice of workflow HOT 1
- Row limit warning for charts
- Add relative date picker
- Text filter style is not consistent
- [Datasette 1.0] `renderTableChart` needs to be updated to support the new Datasette 1.0 JSON API HOT 2
- Error when trying to render a table HOT 2
- Change `faker` dependency Renovate schedule
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 datasette-dashboards.