From eeb45461b62ca697552220e56bde0d303a88f114 Mon Sep 17 00:00:00 2001 From: Ed Wilde Date: Fri, 22 Sep 2023 11:57:09 +1200 Subject: [PATCH] Revert Github specific markdown to maintain portability --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 86e8ae47..64d30e90 100644 --- a/README.md +++ b/README.md @@ -230,9 +230,9 @@ To customise existing block templates such as `Content` and `Form` templates, co `vendor/dnadesign/silverstripe-elemental/templates` to your theme. When doing this, ensure you match the folder structure (PHP class namespace) to ensure that your new template version takes priority. -> [!NOTE] -> The default set of elements follow the [BEM (Block Element Modifier])(http://getbem.com/) class naming convention, which allows developers to style individual parts of the DOM without unnecessarily nested CSS. -> Where possible, we encourage you to follow this naming system. +**Note:** The default set of elements follow the [BEM (Block Element Modifier])(http://getbem.com/) class naming +convention, which allows developers to style individual parts of the DOM without unnecessarily nested CSS. Where +possible, we encourage you to follow this naming system. #### Position Helpers @@ -287,9 +287,10 @@ this index in your search engine to ensure that a page's elemental area content For information on configuring Solr please see [the fulltextsearch documentation](https://github.com/silverstripe/silverstripe-fulltextsearch). -> [!WARNING] -> If using this indexer, be aware that HTML tags will be stripped from the content before it is indexed. -> The Solr search results may add in emphasis tags or other formatting around matched key words, so you may need to allow unescaped HTML in your search results template. You should use the `$Excerpt` property (see `SolrIndex::search` for more) to display the relevant search matches. +**Note:** If using this indexer, be aware that HTML tags will be stripped from the content before it is indexed. +The Solr search results may add in emphasis tags or other formatting around matched key words, so you may need +to allow unescaped HTML in your search results template. You should use the `$Excerpt` property (see +`SolrIndex::search` for more) to display the relevant search matches. ### Disabling CMS content search @@ -332,8 +333,8 @@ yarn build You'll need to have [yarn installed](https://yarnpkg.com/en/docs/install) globally in your command line. -> [!NOTE] -> If adding or modifying colours, spacing, font sizes etc. please try and use an appropriate variable from the silverstripe/admin module if available. +**Note:** If adding or modifying colours, spacing, font sizes etc. please try +and use an appropriate variable from the silverstripe/admin module if available. ## Integration with other modules