silverstripe-docsviewer icon indicating copy to clipboard operation
silverstripe-docsviewer copied to clipboard

Inline code not working in div with class "info"

Open jeffreyguo opened this issue 10 years ago • 3 comments

Go to http://doc.silverstripe.org/en/developer_guides/configuration/configuration/ search "The name of the files within the applications", the words _config, email.yml and others in the inline code are not in the inline format. The source is as below:

<div class="info" markdown="1">
The name of the files within the applications `_config` directly are arbitrary. Our examples use 
`mysite/_config/app.yml` but you can break this file down into smaller files, or clearer patterns like `extensions.yml`, 
`email.yml` if you want. For add-on's and modules, it is recommended that you name them with `<module_name>.yml`.
</div>

However, it works for class "alert":

<div class="alert" markdown="1">
Due to YAML limitations, having multiple conditions of the same kind (say, two `EnvVarSet` in one "Only" block)
will result in only the latter coming through.
</div>

jeffreyguo avatar Mar 22 '15 20:03 jeffreyguo

The style of div class "hint" is not working yet. See http://doc.silverstripe.org/en/developer_guides/testing/fixtures/

<div class="hint" markdown='1'>
SapphireTest uses FixtureFactory under the hood when it is provided with YAML based fixtures.
</div>

jeffreyguo avatar Mar 22 '15 20:03 jeffreyguo

I don't think the inline code styles work in any message block do they? For me on the block you're talking about even with 'alert' class applied the back ticks are rendered and pre styling is not applied:

screen shot 2015-06-15 at 9 59 32 am

This should take care of the hint styling at least: #65

jonom avatar Jun 15 '15 17:06 jonom

@wilr I'm also struggling with this issue on userhelp. :D Are you able to have a look at this for us please?

tractorcow avatar Jun 22 '15 03:06 tractorcow