Closed github-learning-lab[bot] closed 4 years ago
:x::white_check_mark::white_check_mark:
:x: Your tab-list.item#home1
block does not have the correct label text
:white_check_mark: Update the text content of the rich-text
block associated with tab-list.item#home1
:white_check_mark: Make the title and subtitle and the markdown text bold
:x::white_check_mark::x:
:x: Your tab-list.item#home1
block does not have the correct label text
:white_check_mark: Update the text content of the rich-text
block associated with tab-list.item#home1
:x: The text content of the rich-text
block associated with tab-list.item#home1
does not match the expected format
:x::white_check_mark::x:
:x: Your tab-list.item#home1
block does not have the correct label text
:white_check_mark: Update the text content of the rich-text
block associated with tab-list.item#home1
:x: The text content of the rich-text
block associated with tab-list.item#home1
does not match the expected format
:x::white_check_mark::white_check_mark:
:x: Your tab-list.item#home1
block does not have the correct label text
:white_check_mark: Update the text content of the rich-text
block associated with tab-list.item#home1
:white_check_mark: Make the title and subtitle and the markdown text bold
:white_check_mark::white_check_mark::white_check_mark:
:white_check_mark: Update the label of tab-list.item#home1
:white_check_mark: Update the text content of the rich-text
block associated with tab-list.item#home1
:white_check_mark: Make the title and subtitle and the markdown text bold
Exploring the power behind rich text
:sparkles: Branch: richtextmarkdown
Introduction
As we've seen, Markdown is a user friendly language that can be easily converted to HTML. In this lesson, we'll see how it's possible to use this language in our Rich Text block to create interesting texts.
Rich Text with Markdown
To include texts in the
rich-text
block, you need to use thetext
prop:The
text
prop accepts markdown format. However, if you want to write your text using this language, your code must be similar to the following:TIP: Always use the
\n
command to skip lines when using markdown in thetext
propOther properties of the
rich-text
component can be found in the Store Framework official documentationActivity
In
about-us.jsonc
, change the text intab-list.item#home1
so that an "About" appears in the first tab;In the
rich-text
content linked to this tab, use the text below:Expected result:
:information_source: Remember to access the Rich Text documentation if you have any questions during the activity.
If you're still unsure as to how to send your answers, click here