artempyanykh / marksman

Write Markdown with code assist and intelligence in the comfort of your favourite editor.
MIT License
2.06k stars 35 forks source link

File header anchor cmp doesn't work for local / absolute path's #286

Open MikeLemo1 opened 10 months ago

MikeLemo1 commented 10 months ago

Basically when I do

mylink it doesn't give me the local header anchors completions menu but when you look for an anchor inside a file like linktofile the anchors cmp just won't show up.

BTW I've got Mkdnflow plugin installed and I've added this to init.lua require'lspconfig'.marksman.setup{} and this to my cmp.lua setup 'sources' var { name = "marksman" }, and marksman = "[Marksman]", to vim_item.menu

Any idea why this is?

artempyanykh commented 10 months ago

Hi @MikeLemo1. Could you show a snippet of the document? (Please, insert markdown in a code fence, between ``` and ```)

MikeLemo1 commented 10 months ago

Yeah sure:


## My shortcuts

## FreeCad stepUp setup: 

## KiCad Paths:

C:\Program Files\KiCad

C:\Program Files\KiCad\7.99\bin\scripting\plugins

C:\Users\mikes\AppData\Roaming\kicad

C:\Users\mikes\AppData\Local\KiCad

## KiCad iBOM:

GitHub: https://github.com/openscopeproject/InteractiveHtmlBom/tree/master

The location might be @ C:\Users\mikes\OneDrive\Documents\KiCad\7.99\3rdparty\plugins\org_openscopeproject_InteractiveHtmlBom\core

# Graphical module pinout

https://github.com/stevenj/GenPinoutSVG

https://hackaday.io/project/162131-graphical-pinout-generator
https://www.sparkfun.com/news/1947
https://github.com/sparkfun/Graphical_Datasheets

https://www.youtube.com/watch?v=tAKLygjfO_U&ab_channel=AdafruitIndustries
https://blog.adafruit.com/2019/07/11/automating-the-making-of-beautiful-pinout-diagrams-for-microcontroller-boards-documentation-at_makers/

https://www.youtube.com/watch?v=ndVs1UvK6AE&t=3s&ab_channel=ATMakers

## Pre requisites:

* [Python](./My_Linux_setup.md#install-python)

* docopt 
`pip install docopt`

* svgwrite
`pip install svgwrite`

* wand
`pip install wand`

## Useage
`python3 GenPinoutSVG [CSV_PATH]`
then if generates the SVG according to the CSV @ './svg/[CSV_PATH_HEAD.svg]'

# Fritzing electronics illustrations
https://github.com/fritzing
https://fritzing.org/

https://fritzing.org/releases
MikeLemo1 commented 10 months ago

now the link

* [Python](./My_Linux_setup.md#install-python)

Doesn't catch

### Install Python:

https://www.youtube.com/watch?v=-sl8QxreV4o&ab_channel=TechSolutionZ

```bash

sudo apt update
sudo apt install software-properties-common wget
wget https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tar.xz
sudo tar -xf Python-3.11.0.tar.xz
cd Python-3.11.0
sudo ./configure --enable-optimizations
sudo make altinstall
python3.11 --version [ Python 3.11.0 ]

@ ./My_Linux_setup.md in the same folder for some reason...
But I remmember having a semi successful anchor jumping with this plugin in the past.