istio.io/layouts/shortcodes
Martin Taillefer 5a1b090fbc
Improve handling for code blocks (#1580)
- Add the {{< text >}} shortcode as a way to declare code blocks. This shortcode
is intended to hide the subtleties around code blocks. More specifically, it
provides a transparent workaround for the Hugo bug around converting indented
code blocks with lines starting with dashes. It also deals with the special
formatting case we have around command-lines that start with `cat <<EOF`.

- Rename the {{< file_content >}} shortcode to {{< text_file >}} and the
{{< fetch_content >}} shortcode to {{< text_dynamic >}} for consistency in naming.
2018-06-28 06:29:27 -07:00
..
branch_name.html Introduce better linking support to github.com/istio/istio (#1443) 2018-06-06 08:21:18 -07:00
idea_icon.html Cleanup (#1363) 2018-05-26 08:28:14 -07:00
image.html Fix some out of date front-matter. 2018-06-01 10:58:38 -07:00
inline_image.html Cleanup (#1363) 2018-05-26 08:28:14 -07:00
istio_version.html Switch from Jekyll to Hugo. 2018-05-25 20:02:32 -07:00
search_engine_id.html Switch from Jekyll to Hugo. 2018-05-25 20:02:32 -07:00
site_suffix.html Cleanup (#1363) 2018-05-26 08:28:14 -07:00
text.html Improve handling for code blocks (#1580) 2018-06-28 06:29:27 -07:00
text_dynamic.html Improve handling for code blocks (#1580) 2018-06-28 06:29:27 -07:00
text_file.html Improve handling for code blocks (#1580) 2018-06-28 06:29:27 -07:00
warning_icon.html Cleanup (#1363) 2018-05-26 08:28:14 -07:00