Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error: can not read an implicit mapping pair; a colon is missed at line 8, column 65:"

Tags:

antora

yml file on Antora using powershell so I am getting this error, please help me out to resolve it."error: can not read an implicit mapping pair; a colon is missed at line 8, column 65:"

I have tried adding colon to line number 8

site:
  title: Antora Demo Site
  url: https://example.org/docs 
  start_page: antora-project::index-template.adoc 
content:
  sources:
  - url:
    home/Users/rashmi.p1/Sample/antora-project/content/feature1 
  - url:
    home/Users/rashmi.p1/Sample/antora-project/content/feature2
    start_path: docs  
ui:
  bundle:
    url:
    home/Users/rashmi.p1/Sample/antora-project/resources
    snapshot: true

I am expecting compilation should start and generate the website

like image 812
Rashmi Avatar asked Sep 12 '25 13:09

Rashmi


1 Answers

Check if you have quotes. Escape them with \"Sometext\". Example YAML:

---
title: Bad relationships still require work. Don't compromise
lastUpdate: 19 July 2021
tags: ['personal', 'relationships', 'compromise']
slug: bad-relationships-require-work
meta:
  title: Bad relationships still require work. Don't compromise
  description: "ERROR HERE The relationship is bad, therefore I can maintain it with less work. ERROR HERE" That's usually a sneaky fallacy.
---

See ERROR HERE. Quotes should have been escaped

like image 120
ZenVentzi Avatar answered Sep 16 '25 07:09

ZenVentzi