Skip to content

Prompt specifiers: documentation improvements - #926

Merged
tompng merged 1 commit into
ruby:masterfrom
Uaitt:prompt-specifiers-docs-improvement
Apr 18, 2024
Merged

tompng merged 1 commit into
ruby:masterfrom
Uaitt:prompt-specifiers-docs-improvement

Conversation

@Uaitt

@Uaitt Uaitt commented Apr 18, 2024

Copy link
Copy Markdown
Contributor

While reading the docs for specifying your own custom prompt, I noticed a few issues.

First, the placeholder for specifying the indentation level and the line number are wrong. *NN*i does not work, nor *NN*n (replacing NN with digits of course). The right placeholders are actually %NNi and %NNn.

Additionally, it took me a lot of time to understand that NN meant that I had to use digits and not actual NN in the placeholder 🤣. I have added a brief line for both the placeholders that actually states that you should use digits and not the raw NN.

PR's open for discussion 😃.

@tompng tompng left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! thank you

@tompng
tompng merged commit e8ea8f2 into ruby:master Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants