File: help_markdown.fqtest

package info (click to toggle)
fq 0.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 106,624 kB
  • sloc: xml: 2,835; makefile: 250; sh: 241; exp: 57; ansic: 21
file content (14 lines) | stat: -rw-r--r-- 341 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$ fq -h markdown
markdown: Markdown decoder

Decode examples
===============

  # Decode file as markdown
  $ fq -d markdown . file
  # Decode value as markdown
  ... | markdown

Array with all level 1 and 2 headers
====================================
  $ fq -d markdown '[.. | select(.type=="heading" and .level<=2)?.children[0]]' file.md