Giter Club home page Giter Club logo

Comments (4)

Lisandra-dev avatar Lisandra-dev commented on July 22, 2024 1

Think you can use the text replacer with the arrow to down to use the replacer after all transform

from obsidian-github-publisher.

garethfoote avatar garethfoote commented on July 22, 2024 1

Amazing! That did it.
Many thanks @Lisandra-dev

from obsidian-github-publisher.

Lisandra-dev avatar Lisandra-dev commented on July 22, 2024

First, thanks for the great reproduction example!

I need to some help to get throught. I think (not tested for the moment!) you have a good catch with the regex. But… I can't read it in the screen 😢 Could you please send me it in text form ?
Thanks!

EDIT: Found the problem 🎉 Fixed in 6.11.0

from obsidian-github-publisher.

garethfoote avatar garethfoote commented on July 22, 2024

Thank you, @Lisandra-dev. That was fast!

Seems that my unusual requirement of using the text replacer inside the wikilinks is causing some pretty niche behaviour.

I'm doing some post-processing of the MD files once they get to my repo in Jekyll templates. This is to provide different text for an anchor than the file title and to provide alt text for an image. That means I need the wikilinks to reach my repo with a custom demarcating symbol instead of a pipe (because Jekyll immediately converts pipes to tables).

So, I'm using the text replacer to make this: [[Weeknote 01|different text linking to Weeknote 01]]
arrive in my repo as: [[Weeknote 01@@different text linking to Weeknote 01]]

but it is arriving like this:
[[Weeknote 01@@different text linking to Weeknote 01|Weeknote 01@@different text linking to Weeknote 01]]
(See this PR.)

I assume the recent automatic addition of alt text can't be disabled in the config anywhere?

PS Should I create a new issue for this?
PPS I understand if this is outside of the remit of the plugin.

from obsidian-github-publisher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.