Plugin Directory

Changeset 3272391


Ignore:
Timestamp:
04/14/2025 12:27:13 PM (12 months ago)
Author:
dramb
Message:

Update readme.txt to fix code block rendering issue

Location:
js-integration-for-churchsuite
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • js-integration-for-churchsuite/tags/1.0.0/README.txt

    r3272197 r3272391  
    165165can be generated by adding an HTML block with:
    166166
    167 ```
    168 <script>CS.url = 'https://demo.churchsuite.com';</script>
    169 
    170 <div>
    171   <!-- Tell it which configuration to use... -->
    172   <div x-data="CSEvents({configuration: '62436903-841e-4239-bc95-e6952e17430e'})">
    173     <!-- ... and then get designing! -->
    174     <template x-for="event in events">
    175       <!-- There can only be one element within the template -->
    176       <div>
    177         <span x-text="event.name"></span>
    178       </div>
    179     </template>
    180   </div>
    181 </div>
    182 ```
     167
     168    <script>CS.url = 'https://demo.churchsuite.com';</script>
     169
     170    <div>
     171      <!-- Tell it which configuration to use... -->
     172      <div x-data="CSEvents({configuration: '62436903-841e-4239-bc95-e6952e17430e'})">
     173        <!-- ... and then get designing! -->
     174        <template x-for="event in events">
     175          <!-- There can only be one element within the template -->
     176          <div>
     177            <span x-text="event.name"></span>
     178          </div>
     179        </template>
     180      </div>
     181    </div>
     182
    183183
    184184(replacing `demo` with your church name, and the hex string with your
  • js-integration-for-churchsuite/trunk/README.txt

    r3272197 r3272391  
    165165can be generated by adding an HTML block with:
    166166
    167 ```
    168 <script>CS.url = 'https://demo.churchsuite.com';</script>
    169 
    170 <div>
    171   <!-- Tell it which configuration to use... -->
    172   <div x-data="CSEvents({configuration: '62436903-841e-4239-bc95-e6952e17430e'})">
    173     <!-- ... and then get designing! -->
    174     <template x-for="event in events">
    175       <!-- There can only be one element within the template -->
    176       <div>
    177         <span x-text="event.name"></span>
    178       </div>
    179     </template>
    180   </div>
    181 </div>
    182 ```
     167
     168    <script>CS.url = 'https://demo.churchsuite.com';</script>
     169
     170    <div>
     171      <!-- Tell it which configuration to use... -->
     172      <div x-data="CSEvents({configuration: '62436903-841e-4239-bc95-e6952e17430e'})">
     173        <!-- ... and then get designing! -->
     174        <template x-for="event in events">
     175          <!-- There can only be one element within the template -->
     176          <div>
     177            <span x-text="event.name"></span>
     178          </div>
     179        </template>
     180      </div>
     181    </div>
     182
    183183
    184184(replacing `demo` with your church name, and the hex string with your
Note: See TracChangeset for help on using the changeset viewer.