উদ্ধৃতি
উদ্ধৃত লেখা একত্র করুন বা একাধিক অনুচ্ছেদের প্রসঙ্গ আলাদা করুন। খালি অনুচ্ছেদে > লিখে 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: 'bn' })
const settle = watchSettle(document, { surface: content })
const shared = { nabi, registry, surface: content, settle, locale: 'bn' }
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-এর ভেতরের অনুচ্ছেদ কাঠামো বজায় রাখুন এবং শুধু বাইরের ফাঁক, সীমানা ও রঙের মতো উপস্থাপনা বদলান।