jj/docs
Vamsi Avula fb93394610 templates: add raw_escape_sequence
Templates can be formatted (using labels) and are usually sanitized
(unless for plain text output).
`raw_escape_sequence(content)` bypasses both.

```toml
	'hyperlink(url, text)' = '''
		raw_escape_sequence("\e]8;;" ++ url ++ "\e\\") ++
		text ++
		raw_escape_sequence("\e]8;;\e\\")
	'''
```

In this example, `raw_escape_sequence` not only outputs the intended
escape codes, it also strips away any escape codes that might otherwise
be part of the `url` (from any labels attached to the `url` content).

Not all formatters (namely FormatRecorder) are supported yet.

Change-Id: Id00000004492dbf39e50f3b7090706839d1d8d45
2024-10-13 12:02:40 +05:30
..
design docs: Remove trailing whitespace in markdown files 2024-09-13 13:06:28 +02:00
governance docs: introduce temporary governance voting process 2024-09-12 15:19:46 -07:00
technical bookmarks: update some leftover uses of the word "branch" 2024-09-11 19:19:31 -07:00
bookmarks.md bookmarks: update docs to try to clarify mapping to Git branches 2024-10-01 06:46:32 -07:00
cli-reference.md docs: Remove trailing whitespace in markdown files 2024-09-13 13:06:28 +02:00
code-of-conduct.md docs: s/socio-economics/socioeconomics/ per codespell suggestion 2024-05-24 11:34:03 +09:00
community_tools.md docs: add link to VisualJJ 2024-10-05 01:18:52 -07:00
config.md cli: warn if trunk() alias cannot be resolved, fall back to none() 2024-10-11 09:37:47 +09:00
config.toml docs: document git.fetch and git.push config options 2024-02-09 12:03:42 -06:00
conflicts.md docs: Fix example with Git conflicts markers 2024-08-02 10:36:38 -07:00
contributing.md docs: explain a bit about good commit messages 2024-10-07 17:02:49 -07:00
design_doc_blueprint.md docs: Remove trailing whitespace in markdown files 2024-09-13 13:06:28 +02:00
design_docs.md docs: Remove trailing whitespace in markdown files 2024-09-13 13:06:28 +02:00
FAQ.md docs: Remove trailing whitespace in markdown files 2024-09-13 13:06:28 +02:00
filesets.md cli: enable fileset by default 2024-07-24 10:49:46 +09:00
git-comparison.md git: add --remote option to clone command 2024-09-13 18:14:57 +02:00
git-compatibility.md git: add --remote option to clone command 2024-09-13 18:14:57 +02:00
github.md git: add --remote option to clone command 2024-09-13 18:14:57 +02:00
glossary.md docs: Remove trailing whitespace in markdown files 2024-09-13 13:06:28 +02:00
index.md docs: add link to roadmap from docs main page 2024-09-04 00:03:32 -07:00
install-and-setup.md Added docs about installation under Gentoo Linux 2024-08-20 22:19:09 -07:00
operation-log.md bookmarks: update some leftover uses of the word "branch" 2024-09-11 19:19:31 -07:00
related-work.md politics: delete references to Pijul 2024-04-14 13:16:08 -07:00
revsets.md revset: add at_operation(op, expression) 2024-10-12 07:57:55 +09:00
roadmap.md docs(roadmap): minor typo, as should be ask 2024-09-04 20:07:04 +02:00
sapling-comparison.md docs: explain that jj was started 3 years before Sapling announcement 2024-06-20 05:24:28 +09:00
templates.md templates: add raw_escape_sequence 2024-10-13 12:02:40 +05:30
testimonials.md docs: Remove trailing whitespace in markdown files 2024-09-13 13:06:28 +02:00
tutorial.md unsquash: deprecate in favor of squash and diffedit 2024-09-26 16:34:48 +02:00
windows.md docs: Remove trailing whitespace in markdown files 2024-09-13 13:06:28 +02:00
working-copy.md docs: mention snapshot.auto-track in config.md too 2024-10-04 12:42:22 -07:00