docs-v2/layouts/shortcodes/code-placeholders.html

6 lines
452 B
HTML
Raw Normal View History

Cloud Dedicated InfluxQL reference (#4959) * Dedicated InfluxQL function reference, sample data, feature tracking (#4934) * WIP influxql reference docs * WIP finished porting InfluxQL aggregate and selector functions * WIP holt winters * WIP adding sample data sets to dedicated * restructured content for influxql technical analysis functions * added sample data and examples for influxql technical analysis functions * restructured influxql transformation function docs * add influxql feature tracking doc with function support * updated influxql page function descriptions * added note about missing influxql functions * Apply suggestions from code review Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> * updates to address PR feedback * update group by time example descriptions * Apply suggestions from code review Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> --------- Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> * Dedicated InfluxQL SELECT statement, quotation, and regexp docs (#4945) * WIP influxql select and regexp * update select examples, add quoting doc * updated influxql regexp content * Apply suggestions from code review Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> --------- Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> * InfluxQL WHERE clause, date-time related content (#4946) * WIP dedicated influxql where clause * add time, time zone, date-time functions * Apply suggestions from code review Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> --------- Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> * InfluxQL GROUP BY with new sample data (#4954) * finish influxql group by revamp * Apply suggestions from code review Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com> * minor fixes * Apply suggestions from code review Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> * Apply suggestions from code review * updates to address PR feedback --------- Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com> Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> * InfluxQL ORDER BY, LIMIT, SLIMIT, OFFSET, and SOFFSET clauses (#4957) * order by, limit, slimit, offset, soffset clauses * updated limit/offset behavior * updated influxql landing page --------- Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
2023-05-26 16:30:08 +00:00
{{- $regex := .Get 0 -}}
{{- $color := .Get 1 | default "magenta" -}}
{{- $elReplace := print "<div class='code-placeholder-wrapper'><var title='Edit $0' class='code-placeholder " $color "' data-code-var='$0' data-code-var-value='$0'>$0<span class='code-placeholder-edit-icon cf-icon Pencil'></span></var></div>" -}}
Cloud Dedicated InfluxQL reference (#4959) * Dedicated InfluxQL function reference, sample data, feature tracking (#4934) * WIP influxql reference docs * WIP finished porting InfluxQL aggregate and selector functions * WIP holt winters * WIP adding sample data sets to dedicated * restructured content for influxql technical analysis functions * added sample data and examples for influxql technical analysis functions * restructured influxql transformation function docs * add influxql feature tracking doc with function support * updated influxql page function descriptions * added note about missing influxql functions * Apply suggestions from code review Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> * updates to address PR feedback * update group by time example descriptions * Apply suggestions from code review Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> --------- Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> * Dedicated InfluxQL SELECT statement, quotation, and regexp docs (#4945) * WIP influxql select and regexp * update select examples, add quoting doc * updated influxql regexp content * Apply suggestions from code review Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> --------- Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> * InfluxQL WHERE clause, date-time related content (#4946) * WIP dedicated influxql where clause * add time, time zone, date-time functions * Apply suggestions from code review Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> --------- Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> * InfluxQL GROUP BY with new sample data (#4954) * finish influxql group by revamp * Apply suggestions from code review Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com> * minor fixes * Apply suggestions from code review Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> * Apply suggestions from code review * updates to address PR feedback --------- Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com> Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> * InfluxQL ORDER BY, LIMIT, SLIMIT, OFFSET, and SOFFSET clauses (#4957) * order by, limit, slimit, offset, soffset clauses * updated limit/offset behavior * updated influxql landing page --------- Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com> Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
2023-05-26 16:30:08 +00:00
{{- $code := .Inner | markdownify -}}
{{- $codePlaceholders := replaceRE $regex $elReplace $code -}}
{{ $codePlaceholders | safeHTML }}