Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Does Vega Support Text in HTML or Markdown Format?

I want to display text containing links using Vega and would also want the ability to style those texts (headlines, emphasis, italics, dropdown).

Can I style text in Vega using the HTML or Markdown format?

If not, are there comparable alternatives supported by the Vega library?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

This is a link to my code.

>Solution :

There is no markdown but you can style the text using fontStyle for italics or fontWeight for bold. You can also assign a href to the whole mark but not individual text elements within it. Details are all here: https://vega.github.io/vega/docs/marks/text/

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading