KaTeX & mhchem support, reading progress bar, theme toggle, Ask AI, screen size adaptation... All in Docsify!
- original markdown grammar is supported too
Perfect for those wanting to create their site for sharing notes(exp Chemistry!)
TIP: If you are deploying this on Cloudflare Pages, the code below is recommended to add as _worker.js in the root folder
export default {
async fetch(request, env) {
const url = new URL(request.url);
if (url.hostname.endsWith('.pages.dev')) {
return Response.redirect(`https://yourdomain.com`, 301);
// return new Response("Access Denied", { status: 403 });
}
return env.ASSETS.fetch(request);
},
}; //for cloudflare deploymentBelow is an example showcasing this optimized docsify project rendering markdown files(text below generated by Grok):
- You can switch to mobile mode, click the theme toggle button, and watch the reading progress bar fill as you scroll
Bromine (atomic number 35) is the only non-metallic element that exists as a liquid at room temperature. It is a dense, volatile, red-brown fuming liquid with a strong, unpleasant odor. Bromine belongs to the halogen group (Group 17) and shows typical halogen reactivity — highly electronegative and a strong oxidizing agent.
- Appearance: reddish-brown liquid
- Density: 3.10 g/cm³ (heavier than water)
- Melting point: −7.2 °C
- Boiling point: 58.8 °C
- Solubility in water: low (~33 g/L), but forms aqueous bromine (Br₂(aq))
- Characteristic color in different solvents:
- Water → yellow-orange
- Organic solvents (CCl₄, CHCl₃) → deep red-brown
Requires heating or UV light; equilibrium lies far to the right at low temperature.
This is the basis for detecting bromide and iodide ions in qualitative analysis.
The mixture is called "bromine water" and contains hypobromous acid (HOBr), which is responsible for its bleaching and oxidizing properties.
| Compound | Formula | Solubility in water | Remark / Use |
|---|---|---|---|
| Sodium bromide | NaBr | Very soluble | Source of Br⁻, sedative (historical) |
| Potassium bromide | KBr | Very soluble | Spectroscopy (IR windows), old anticonvulsant |
| Calcium bromide | CaBr₂ | Very soluble | Oil drilling fluids (high density) |
| Silver bromide | AgBr | Insoluble | Light-sensitive — used in photography |
| Hydrogen bromide | HBr | Extremely soluble | Strong acid, source of Br⁻ in organic synth |
Highly selective for allylic position.
Requires Lewis acid catalyst (FeBr₃, AlBr₃). Benzene bromination is slower than chlorination.
Bromide is a good nucleophile in polar aprotic solvents (Finkelstein-like reaction).
Useful for preparing alkyl bromides with one less carbon.
F₂ > Cl₂ > Br₂ > I₂ (oxidizing power / reactivity)
I⁻ > Br⁻ > Cl⁻ > F⁻ (nucleophilicity in protic solvents)
Br⁻ ≈ I⁻ > Cl⁻ >> F⁻ (leaving group ability in SN1/SN2)
Bromine and bromide compounds therefore occupy a sweet spot in both inorganic and organic chemistry: reactive enough to participate in many transformations, yet selective enough to be synthetically useful.