Logo
Articles

Featured Articles

This is a featured article. It is displayed in the "Featured Articles" section of the homepage. You can set featured articles in the PAIA dashboard


const inlineBlockToContent = (

  block: InlineContent

) => {

  if ((block as StyledText).text) {

    block = block as StyledText


    const { styles, text } = block


    const style = getInlineBlockStyle(styles)


    if (styles.code) {

      return {

        text,

        html:

${text}
,

      }

    }


    if (style) {

      return {

        text,

        html: ${text},

      }

    }


    return {

      text,

      html: text,

    }


  1. asdfsadfasdf
  2. asdfasdfasdf
  3. asdfsadafsdf
  • asdfasdfasd
  • asdfasdfasdfas
  • asdfasdf
  1. asdfasdfasd

 


Last updated on 1/23/2024, 1:48:06 PM
Was this page useful?
This is the content