code: public static function processParagraph($markdown, $flavor = null)
      {
          $parser = static::getParser($flavor);
  
          return $parser->parseParagraph($markdown);
      }
docs: Converts markdown into HTML but only parses inline elements.
  
  This can be useful for parsing small comments or description lines.
  
  @param string $markdown the markdown text to parse
  @param string $flavor the markdown flavor to use. See [[$flavors]] for available values.
  Defaults to [[$defaultFlavor]], if not set.
  @return string the parsed HTML output
  @throws InvalidArgumentException when an undefined flavor is given.