mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-01 16:45:02 +02:00
[docs] Add documentation for html.php functions (#2714)
This commit is contained in:
parent
8982995445
commit
6547ed0c04
2 changed files with 103 additions and 4 deletions
|
@ -147,7 +147,7 @@ function extractFromDelimiters($string, $start, $end) {
|
|||
* Remove one or more part(s) of a string using a start and end delmiters
|
||||
*
|
||||
* @param string $string Input string, e.g. `foo<script>superscript()</script>bar`
|
||||
* @param string $start Start delimiter, e.g. `<script`
|
||||
* @param string $start Start delimiter, e.g. `<script>`
|
||||
* @param string $end End delimiter, e.g. `</script>`
|
||||
* @return string Cleaned string, e.g. `foobar`
|
||||
*/
|
||||
|
@ -197,8 +197,7 @@ function stripRecursiveHTMLSection($string, $tag_name, $tag_start){
|
|||
/**
|
||||
* Convert Markdown into HTML with Parsedown.
|
||||
*
|
||||
* @link https://daringfireball.net/projects/markdown/ Markdown
|
||||
* @link https://github.github.com/gfm/ GitHub Flavored Markdown Spec
|
||||
* @link https://parsedown.org/ Parsedown
|
||||
*
|
||||
* @param string $string Input string in Markdown format
|
||||
* @return string output string in HTML format
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue