ఉల్లేఖనం
ఉల్లేఖించిన వచనాన్ని సమూహపరచండి లేదా అనేక పేరాల్లో సందర్భాన్ని వేరు చేయండి. ఖాళీ పేరాలో > తర్వాత Space నొక్కండి, లేదా టూల్బార్ నుంచి ఎంచుకున్న పేరాలను ఉల్లేఖనంగా మార్చండి.
ఉల్లేఖనంలో సాధారణ పేరాలతోపాటు జాబితాలు, చిత్రాలు వంటి బ్లాక్లు ఉండవచ్చు. అదే పరిధిని మళ్లీ మార్చితే అది బయటి పేరాలుగా తిరిగి మారుతుంది.
వింగ్స్
ప్రాథమిక అక్షరరూపంఆఫ్సెట్
HTMLఎడిటర్ లోడ్ అవుతోంది…
JSONnabi-treeఎడిటర్ లోడ్ అవుతోంది…
ఇన్స్టాల్
npm install nabi-noteకోడ్
import {
createNabiWith, mountSurface, mountToolbar, mountContextToolbar,
mountHints, watchSettle, quoteWing, detailsWing, dividerWing,
mountViewTools,
} from 'nabi-note'
const selected = [
quoteWing,
detailsWing,
dividerWing,
]
const { nabi, registry } = createNabiWith(selected)
const root = document.querySelector('.nabi')!
const content = document.querySelector('.nabi-content')!
// The locale also sets the direction — Arabic and Urdu run right to left
mountSurface({ nabi, registry, root: content, locale: 'te' })
const settle = watchSettle(document, { surface: content })
const shared = { nabi, registry, surface: content, settle, locale: 'te' }
const toolbar = mountToolbar({ ...shared, root: document.querySelector('#toolbar')! })
const context = mountContextToolbar({ ...shared, root: document.querySelector('#context')! })
mountHints({ toolbar, context, root, surface: content })
// The preview and fullscreen buttons — they stand their own box at the end of the row
mountViewTools({ ...shared, root, container: document.querySelector('#toolbar')! })
// on every change — hook up your own code here
// nabi.onChange(() => user_callback(nabi.getHtml()))ts
const selected = wings().use('quote').build()CSS శైలులు
అంచులు, ఖాళీలను మార్చి .nabi-content blockquoteతో ఉల్లేఖనాలకు శైలి ఇవ్వండి.
css
.article-body blockquote {
margin-inline: 0;
padding: .25rem 1rem;
border-inline-start: 4px solid var(--nabi-accent);
color: var(--nabi-muted);
background: color-mix(in srgb, var(--nabi-soft) 72%, transparent);
}blockquoteలోని పేరా నిర్మాణాన్ని ఉంచి, బయటి ఖాళీ, అంచులు, రంగు వంటి రూపాన్ని మాత్రమే మార్చండి.