1 text
j edited this page 2023-07-02 12:57:13 +05:30

Text

[Documents, pandora*, 0xdb2*)]TOC(heading=Design

Html tags / formatting tags that can be used in texts or annotations:

** Annotations / Summaries / Texts:

  • Italics:
<i>...</i>
  • Bold:
<b>...</b>
  • Line break:
<br>
  • Para / double linebreak:
<br><br>
  • Paragraph:
<p>...</p>
  • Underline:
<u>...</u>
  • Link:
<a href="URL">...</a>
  • Image:
<img src="URL">

** Stuff used mostly in Texts:

  • Heading:
<h2>...</h2>
  • Centre something:
<figure>...</figure>
  • Embed url:
<a href="url to embed">hyperlinked text</a>
  • Embed clip from site, for example:
<a href="/ID/player/00:08:11.475,00:10:25.750#embed?showAnnotations=true&paused=false">display this instead of url</a>
<a href="/<pad.ma ID>/player/<TC in>,<TC out>#embed?showAnnotations=true&paused=false">hyperlinked text</a>
  - Simple embed, no text is hyperlinked, display url (pad.ma clip url with in-point and out-point marked):
      
      * without annotations displayed:
https://pad.ma/{pad.ma ID}/player/{TC in},{TC out}#embed
      * url, embed code for all annotation layers displayed:
<a href="/{pad.ma ID}/player/{TC in},{TC out}#embed?showAnnotations=true&paused=false">pad.ma/{pad.ma ID}/player/{TC in},{TC out}</a>
      * embed code to display only transcripts and description layers:
#embed?showAnnotations=true&showLayers=[&quot;descriptions&quot;,&quot;transcripts&quot;&paused=false

  !!! * Note: In a text, replace "&paused=false" with "&paused=true" for the first in-site (pad.ma/indiancine.ma) embedded url.
      This ensures the first embed link does not autoplay, unless played from video controls.
      * Remove current position from the url (ie the first of the 3 timecodes after marking in and out positions in the video).
  • Superscript: ...

  • ...
  • Unordered / Bulleted List:

                            <ul><li>item 1</li>
                                <li>item 2</li>
                                     ... </ul>

  • Ordered List:
                            <ol><li>item 1</li>
                                <li>item 2</li>
                                     ...</ol>

      <{element} data-name="{some marker}">...</{element}>

  Link to above element somewhere in the body of the text:
    <a href="/texts/zi:dummy_example/{some marker}">{hyperlinked text}</a>

 Note: '{element} can be p / blockquote / etc