@@ -91,43 +91,49 @@ Add the following in a similar manner as proxying or OAuth 2.0 to ignore markdow
9191
9292In * Single View* mode you will be able to see only documentation or try-it.
9393
94- <raml-console-loader src="path-to-raml" single-view ></raml-console-loader>
94+ <raml-console-loader src="path-to-raml" options="{ singleView: true }" ></raml-console-loader>
9595
9696### Theme Switcher
9797
9898* Theme Switcher* can be disable if needed by adding the following setting:
9999
100- <raml-console-loader src="path-to-raml" disable-theme-switcher ></raml-console-loader>
100+ <raml-console-loader src="path-to-raml" options="{ disableThemeSwitcher: true }" ></raml-console-loader>
101101
102102### Disabling Client Generator
103103
104104* Raml client generator* can be disable if needed by adding the following setting:
105105
106- <raml-console-loader src="path-to-raml" disable-raml-client-generator ></raml-console-loader>
106+ <raml-console-loader src="path-to-raml" options="{ disableRamlClientGenerator: true }" ></raml-console-loader>
107107
108108### Resources collapsed
109109
110110* Resources* can be collapsed if needed by adding the following setting:
111111
112- <raml-console-loader src="path-to-raml" resources-collapsed ></raml-console-loader>
112+ <raml-console-loader src="path-to-raml" options="{ resourceCollapsed: true }" ></raml-console-loader>
113113
114114### Documentation collapsed
115115
116116* Documentation* can be collapsed if needed by adding the following setting:
117117
118- <raml-console-loader src="path-to-raml" documentation-collapsed ></raml-console-loader>
118+ <raml-console-loader src="path-to-raml" options="{ documentationCollapsed: true }" ></raml-console-loader>
119119
120120### Allowing Unsafe Markdown
121121
122122* Unsafe Markdown* will be disable by default, if you want to allow unsafe content check the following example:
123123
124- <raml-console-loader src="path-to-raml" allow-unsafe-markdown ></raml-console-loader>
124+ <raml-console-loader src="path-to-raml" options="{ allowUnsafeMarkdown: true }" ></raml-console-loader>
125125
126126### Disabling Try-it
127127
128128* Try-it* will be enable by default, if you want to disable Try-it you can do that by adding the following setting:
129129
130- <raml-console-loader src="path-to-raml" disable-try-it></raml-console-loader>
130+ <raml-console-loader src="path-to-raml" options="{ disableTryIt: true }"></raml-console-loader>
131+
132+ ### Multiple Options
133+
134+ Multiple of the options above can be provided. The options need to be expressed in camelcase format:
135+
136+ <raml-console-loader src="path-to-raml" options="{ disableRamlClientGenerator: true, disableTryIt: true }"></raml-console-loader>
131137
132138## Development
133139
0 commit comments