-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
asciidoctor: update Russian translation #18847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Convert a specific `.adoc` file to HTML and link a CSS stylesheet: | ||
|
||
`asciidoctor {{[-a|--attribute]}} stylesheet {{path/to/stylesheet.css}} {{path/to/file.adoc}}` | ||
`asciidoctor {{[-a|--attribute]}} stylesheet={{path/to/stylesheet.css}} {{path/to/file.adoc}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait this isn't an option. The = can stay. Does this command even work without =?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here --attribute
is the option, and stylesheet={{path/to/stylesheet.css}}
is its value, the whole thing. And the documentation explicitly states that it be in this form with an equal sign for key-value attributes (see the link). So I don't think it would accept space there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested it a bit and can confirm, that equal sign is mandatory here. Without it asciidoctor
treats the stylesheet file as a source file that need to be converted, not a stylesheet file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should change the page in that case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
- Convert a specific `.adoc` file to HTML and link a CSS stylesheet: | ||
|
||
`asciidoctor {{[-a|--attribute]}} stylesheet {{path/to/stylesheet.css}} {{path/to/file.adoc}}` | ||
`asciidoctor {{[-a|--attribute]}} stylesheet={{path/to/stylesheet.css}} {{path/to/file.adoc}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should change the page in that case
I've also updated the original page:
--attribute
option requires its value to be an equal sign-separated pair.pdf
andasciidoctor-pdf
shouldn't be marked as placeholders.common
,linux
,osx
,windows
,sunos
,android
, etc.